From: Evan Cheng Date: Tue, 23 Jan 2007 17:49:33 +0000 (+0000) Subject: Fix test case. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6bc191a8ecd9d106ad0e52d251bbe15bb14f5e18;p=oota-llvm.git Fix test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33464 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/cast-to-bool.c b/test/CFrontend/cast-to-bool.c index e0f48daa731..04e174e46eb 100644 --- a/test/CFrontend/cast-to-bool.c +++ b/test/CFrontend/cast-to-bool.c @@ -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) {