aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/trunc-to-bool.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-02 04:23:10 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-02 04:23:10 +0000
commit69ccadd7535a83b348595cf603126e6a68b2883b (patch)
treeb7bd0dcf1c3042a7f4bbbbb4854ececda37568ba /test/CodeGen/X86/trunc-to-bool.ll
parenta50d5962edbf9606a9a7636d845be9f980c28b87 (diff)
downloadexternal_llvm-69ccadd7535a83b348595cf603126e6a68b2883b.zip
external_llvm-69ccadd7535a83b348595cf603126e6a68b2883b.tar.gz
external_llvm-69ccadd7535a83b348595cf603126e6a68b2883b.tar.bz2
Use the llvm-upgrade program to upgrade llvm assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/trunc-to-bool.ll')
-rw-r--r--test/CodeGen/X86/trunc-to-bool.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/trunc-to-bool.ll b/test/CodeGen/X86/trunc-to-bool.ll
index 92a0949..3e00975 100644
--- a/test/CodeGen/X86/trunc-to-bool.ll
+++ b/test/CodeGen/X86/trunc-to-bool.ll
@@ -1,8 +1,8 @@
; An integer truncation to bool 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\)' | wc -l | grep 6
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep '\(and\)\|\(test.*\$1\)' | wc -l | grep 6
bool %test1(int %X) {
%Y = trunc int %X to bool
ret bool %Y