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) {