aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/trunc-to-bool.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/trunc-to-bool.ll')
-rw-r--r--test/CodeGen/X86/trunc-to-bool.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/X86/trunc-to-bool.ll b/test/CodeGen/X86/trunc-to-bool.ll
index 667fc2f..bf53825 100644
--- a/test/CodeGen/X86/trunc-to-bool.ll
+++ b/test/CodeGen/X86/trunc-to-bool.ll
@@ -1,8 +1,7 @@
; An integer truncation to i1 should be done with an and instruction to make
; sure only the LSBit survives. Test that this is the case both for a returned
; value and as the operand of a branch.
-; RUN: llvm-as < %s | llc -march=x86 &&
-; RUN: llvm-as < %s | llc -march=x86 | grep '\(and\)\|\(test.*\$1\)' | \
+; RUN: llvm-as < %s | llc -march=x86 | grep {\\(and\\)\\|\\(test.*\\\$1\\)} | \
; RUN: wc -l | grep 6
define i1 @test1(i32 %X) zext {