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/CFrontend/cast-to-bool.c | |
| 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/CFrontend/cast-to-bool.c')
| -rw-r--r-- | llvm/test/Regression/CFrontend/cast-to-bool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Regression/CFrontend/cast-to-bool.c b/llvm/test/Regression/CFrontend/cast-to-bool.c index ddf21b08542..e0f48daa731 100644 --- a/llvm/test/Regression/CFrontend/cast-to-bool.c +++ b/llvm/test/Regression/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 and +// RUN: %llvmgcc -S %s -o - | llvm-as | llc -march=x86 | grep 'test.*1' int main ( int argc, char** argv) { |

