diff --git a/llvm/test/CFrontend/cast-to-bool.c b/llvm/test/CFrontend/cast-to-bool.c index e0f48daa731d..04e174e46ebe 100644 --- a/llvm/test/CFrontend/cast-to-bool.c +++ b/llvm/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) {