From 4bf4c738e841f3244276d7a1d649800f099ba7f6 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Wed, 21 Nov 2012 14:46:18 +0000 Subject: [PATCH] llvm/test/Transforms/InstCombine/sdiv-1.ll: FileCheck-ize. "not grep '-715827882'" performed as below...bad... Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168430 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/sdiv-1.ll | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/Transforms/InstCombine/sdiv-1.ll b/test/Transforms/InstCombine/sdiv-1.ll index c46b5eaef4a..6ab18ac7f84 100644 --- a/test/Transforms/InstCombine/sdiv-1.ll +++ b/test/Transforms/InstCombine/sdiv-1.ll @@ -1,6 +1,8 @@ -; RUN: opt < %s -instcombine -inline -S | not grep '-715827882' +; RUN: opt < %s -instcombine -inline -S | FileCheck %s ; PR3142 +; CHECK-NOT: -715827882 + define i32 @a(i32 %X) nounwind readnone { entry: %0 = sub i32 0, %X