aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/trunc-to-bool.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-07-19 23:13:04 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-07-19 23:13:04 +0000
commit9445e9aaa0240a897baf464ff89255acdcc7fbc9 (patch)
tree1d769c299d5d5b0027b30ac5c301c6ff7613d28f /test/CodeGen/X86/trunc-to-bool.ll
parent087b72d1bceea0ffe414c0e3d54196aafc7769f8 (diff)
downloadexternal_llvm-9445e9aaa0240a897baf464ff89255acdcc7fbc9.zip
external_llvm-9445e9aaa0240a897baf464ff89255acdcc7fbc9.tar.gz
external_llvm-9445e9aaa0240a897baf464ff89255acdcc7fbc9.tar.bz2
For PR1553:
Change the keywords for the zext and sext parameter attributes to be zeroext and signext so they don't conflict with the keywords for the instructions of the same name. This gets around the ambiguity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40069 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/trunc-to-bool.ll')
-rw-r--r--test/CodeGen/X86/trunc-to-bool.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/trunc-to-bool.ll b/test/CodeGen/X86/trunc-to-bool.ll
index bf53825..69f37c0 100644
--- a/test/CodeGen/X86/trunc-to-bool.ll
+++ b/test/CodeGen/X86/trunc-to-bool.ll
@@ -4,7 +4,7 @@
; RUN: llvm-as < %s | llc -march=x86 | grep {\\(and\\)\\|\\(test.*\\\$1\\)} | \
; RUN: wc -l | grep 6
-define i1 @test1(i32 %X) zext {
+define i1 @test1(i32 %X) zeroext {
%Y = trunc i32 %X to i1
ret i1 %Y
}