diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2006-11-27 05:08:03 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2006-11-27 05:08:03 +0000 |
| commit | 141519fbc047db2a5f44bb6116758530ec7595b0 (patch) | |
| tree | 8605890b22498d2bdab91936880b59dc29b77412 /llvm/test/Regression/CodeGen/X86 | |
| parent | b3281892d9139c2b850ec745b8a7beb10ba79814 (diff) | |
| download | bcm5719-llvm-141519fbc047db2a5f44bb6116758530ec7595b0.tar.gz bcm5719-llvm-141519fbc047db2a5f44bb6116758530ec7595b0.zip | |
Alter these tests to ensure they match a "test $1, X" X86 instruction that
is now generated by the LLVM backend for "trunc to bool" instructions.
llvm-svn: 31935
Diffstat (limited to 'llvm/test/Regression/CodeGen/X86')
| -rw-r--r-- | llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll | 2 |
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 |

