summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll')
-rw-r--r--llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll b/llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll
index 693b94c7737..0af8de2729d 100644
--- a/llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll
+++ b/llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll
@@ -2,7 +2,7 @@
; 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\)' | wc -l | grep 3
+; RUN: llvm-as < %s | llc -march=x86 | grep '\(and\)\|\(test.*\$1\)' | wc -l | grep 3
bool %test1(int %X) {
%Y = trunc int %X to bool
ret bool %Y
OpenPOWER on IntegriCloud