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/PowerPC/2007-05-30-dagcombine-miscomp.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/PowerPC/2007-05-30-dagcombine-miscomp.ll')
-rw-r--r-- | test/CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll b/test/CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll index 0ea76c7..ae853f6 100644 --- a/test/CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll +++ b/test/CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll @@ -4,7 +4,7 @@ target triple = "powerpc-apple-darwin8.8.0" ; RUN: llvm-as < %s | llc -march=ppc32 | grep {rlwinm r3, r3, 23, 30, 30} ; PR1473 -define i8 @foo(i16 zext %a) zext { +define i8 @foo(i16 zeroext %a) zeroext { %tmp2 = lshr i16 %a, 10 ; <i16> [#uses=1] %tmp23 = trunc i16 %tmp2 to i8 ; <i8> [#uses=1] %tmp4 = shl i8 %tmp23, 1 ; <i8> [#uses=1] |