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/Assembler/2007-07-19-ParamAttrAmbiguity.ll | |
parent | 087b72d1bceea0ffe414c0e3d54196aafc7769f8 (diff) | |
download | llvm-9445e9aaa0240a897baf464ff89255acdcc7fbc9.tar.gz llvm-9445e9aaa0240a897baf464ff89255acdcc7fbc9.tar.bz2 llvm-9445e9aaa0240a897baf464ff89255acdcc7fbc9.tar.xz |
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/Assembler/2007-07-19-ParamAttrAmbiguity.ll')
-rw-r--r-- | test/Assembler/2007-07-19-ParamAttrAmbiguity.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Assembler/2007-07-19-ParamAttrAmbiguity.ll b/test/Assembler/2007-07-19-ParamAttrAmbiguity.ll new file mode 100644 index 0000000000..9c7daa841a --- /dev/null +++ b/test/Assembler/2007-07-19-ParamAttrAmbiguity.ll @@ -0,0 +1,9 @@ +; PR1553 +; RUN: llvm-as < %s > /dev/null +define void @bar() { + %t = call i8 @foo( i8 10 ) + zext i8 %t to i32 + ret void +} + +declare i8 @foo(i8) |