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 | 314e1cb7eee8be08b9103eeb03727dd6292a7ad0 (patch) | |
tree | a6a41b236778a755e4d1588c6b7024d6ce648765 /llvm/test/CodeGen/ARM/uxt_rot.ll | |
parent | f2e101f164f6ac1281cbab14f82c28191bf47932 (diff) | |
download | bcm5719-llvm-314e1cb7eee8be08b9103eeb03727dd6292a7ad0.tar.gz bcm5719-llvm-314e1cb7eee8be08b9103eeb03727dd6292a7ad0.zip |
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.
llvm-svn: 40069
Diffstat (limited to 'llvm/test/CodeGen/ARM/uxt_rot.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/uxt_rot.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/uxt_rot.ll b/llvm/test/CodeGen/ARM/uxt_rot.ll index d15c6503c78..66275eae0ed 100644 --- a/llvm/test/CodeGen/ARM/uxt_rot.ll +++ b/llvm/test/CodeGen/ARM/uxt_rot.ll @@ -2,19 +2,19 @@ ; RUN: llvm-as < %s | llc -march=arm -mattr=+v6 | grep uxtab | wc -l | grep 1 ; RUN: llvm-as < %s | llc -march=arm -mattr=+v6 | grep uxth | wc -l | grep 1 -define i8 @test1(i32 %A.u) zext { +define i8 @test1(i32 %A.u) zeroext { %B.u = trunc i32 %A.u to i8 ret i8 %B.u } -define i32 @test2(i32 %A.u, i32 %B.u) zext { +define i32 @test2(i32 %A.u, i32 %B.u) zeroext { %C.u = trunc i32 %B.u to i8 %D.u = zext i8 %C.u to i32 %E.u = add i32 %A.u, %D.u ret i32 %E.u } -define i32 @test3(i32 %A.u) zext { +define i32 @test3(i32 %A.u) zeroext { %B.u = lshr i32 %A.u, 8 %C.u = shl i32 %A.u, 24 %D.u = or i32 %B.u, %C.u |