diff options
author | Anders Carlsson <andersca@mac.com> | 2009-11-22 18:56:40 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-11-22 18:56:40 +0000 |
commit | 1299f36af18a566f092ac15e76030a4512ea64b0 (patch) | |
tree | 7205ce419fae43176b3df786043fa5b262ac9608 /clang/test | |
parent | 65da2db73605b4688760377a6068b8eaed95b448 (diff) | |
download | bcm5719-llvm-1299f36af18a566f092ac15e76030a4512ea64b0.tar.gz bcm5719-llvm-1299f36af18a566f092ac15e76030a4512ea64b0.zip |
Update a test to FileCheck.
llvm-svn: 89610
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CodeGen/PR2001-bitfield-reload.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/CodeGen/PR2001-bitfield-reload.c b/clang/test/CodeGen/PR2001-bitfield-reload.c index 1fef3c56b53..4dec65fd547 100644 --- a/clang/test/CodeGen/PR2001-bitfield-reload.c +++ b/clang/test/CodeGen/PR2001-bitfield-reload.c @@ -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 @@ static int foo(int i) { } int bar() { + // CHECK: ret i32 1 return foo(-5) == -1; } |