diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-07-19 23:13:04 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-07-19 23:13:04 +0000 |
commit | 9445e9aaa0240a897baf464ff89255acdcc7fbc9 (patch) | |
tree | 1d769c299d5d5b0027b30ac5c301c6ff7613d28f /test/CodeGen/X86/x86-64-shortint.ll | |
parent | 087b72d1bceea0ffe414c0e3d54196aafc7769f8 (diff) | |
download | external_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/x86-64-shortint.ll')
-rw-r--r-- | test/CodeGen/X86/x86-64-shortint.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/x86-64-shortint.ll b/test/CodeGen/X86/x86-64-shortint.ll index d136450..369527f 100644 --- a/test/CodeGen/X86/x86-64-shortint.ll +++ b/test/CodeGen/X86/x86-64-shortint.ll @@ -4,9 +4,9 @@ target datalayout = "e-p:64:64" target triple = "x86_64-apple-darwin8" -define void @bar(i16 zext %A) { - tail call void @foo( i16 %A sext ) +define void @bar(i16 zeroext %A) { + tail call void @foo( i16 %A signext ) ret void } -declare void @foo(i16 sext ) +declare void @foo(i16 signext ) |