Author: andersca
Date: Sun Nov 22 12:56:40 2009
New Revision: 89610

URL: http://llvm.org/viewvc/llvm-project?rev=89610&view=rev
Log:
Update a test to FileCheck.

Modified:
    cfe/trunk/test/CodeGen/PR2001-bitfield-reload.c

Modified: cfe/trunk/test/CodeGen/PR2001-bitfield-reload.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/PR2001-bitfield-reload.c?rev=89610&r1=89609&r2=89610&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/PR2001-bitfield-reload.c (original)
+++ cfe/trunk/test/CodeGen/PR2001-bitfield-reload.c Sun Nov 22 12:56:40 2009
@@ -1,6 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown --emit-llvm-bc -o - %s | opt 
--std-compile-opts | llvm-dis > %t
-// RUN: grep "ret i32" %t | count 1
-// RUN: grep "ret i32 1" %t | count 1
+// RUN: clang-cc -triple i386-unknown-unknown -O3 -emit-llvm -o - %s | 
FileCheck %s
 // PR2001
 
 /* Test that the result of the assignment properly uses the value *in
@@ -13,5 +11,6 @@
 }
 
 int bar() {
+  // CHECK: ret i32 1
   return foo(-5) == -1;
 }


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to