Fix test case.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 23 Jan 2007 17:49:33 +0000 (17:49 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 23 Jan 2007 17:49:33 +0000 (17:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33464 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/cast-to-bool.c

index e0f48daa731dd2354bd478b93d8a3ebc1e8cebdc..04e174e46ebee4a8d56a6a61ddac0e704d3311d6 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: %llvmgcc -S %s -o - | grep 'trunc.*to bool'
-// RUN: %llvmgcc -S %s -o - | llvm-as | llc -march=x86 | grep 'test.*1'
+// RUN: %llvmgcc -S %s -o - | llvm-as | opt -instcombine | llc -march=x86 | grep 'test.*1'
 int
 main ( int argc, char** argv)
 {