Rewrite X86 codegen regression test with FileCheck
[oota-llvm.git] / test / CodeGen / X86 / 2009-03-25-TestBug.ll
index f40fddc5a36d0b4f84bf4329fef86a43381046b6..cc1d73da05c5afbeb2eba943c32c6a05f5a3e1a8 100644 (file)
@@ -1,8 +1,9 @@
-; RUN: llc < %s -march=x86 -o %t
-; RUN: not grep and %t
-; RUN: not grep shr %t
+; RUN: llc < %s -march=x86 | FileCheck %s
 ; rdar://6661955
 
+; CHECK-NOT: and
+; CHECK-NOT: shr
+
 @hello = internal constant [7 x i8] c"hello\0A\00"
 @world = internal constant [7 x i8] c"world\0A\00"