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 | a7601999342df118f9b9f1acdcf96c0478239638 (patch) | |
tree | d8434ba809caaf319919c0c725122173edbd41ae | |
parent | baf524d2137f719f0465cf5e8dc8d5f5d8089fbf (diff) |
Update a test to FileCheck.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89610 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/PR2001-bitfield-reload.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/PR2001-bitfield-reload.c b/test/CodeGen/PR2001-bitfield-reload.c index 1fef3c56b5..4dec65fd54 100644 --- a/test/CodeGen/PR2001-bitfield-reload.c +++ b/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; } |