diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-30 16:16:01 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-30 16:16:01 +0000 |
commit | af6a408117c52f4d104080514c8d3df58e271128 (patch) | |
tree | 756570c9e0b56bca06155af989d9d204ac4f1782 /llvm/test/CodeGen/PowerPC/and_sext.ll | |
parent | 6f880918d06eb59214ea677a27d9a628ac67f586 (diff) | |
download | bcm5719-llvm-af6a408117c52f4d104080514c8d3df58e271128.tar.gz bcm5719-llvm-af6a408117c52f4d104080514c8d3df58e271128.zip |
For PR411:
Update these tests to not use the same name even though the type of the
value differs. After PR411 hits, type planes will be gone and it will be
illegal for a name to be used twice, regardless of type.
llvm-svn: 33660
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/and_sext.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/and_sext.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/PowerPC/and_sext.ll b/llvm/test/CodeGen/PowerPC/and_sext.ll index 7f4c5f0c066..4c3fd14cbd1 100644 --- a/llvm/test/CodeGen/PowerPC/and_sext.ll +++ b/llvm/test/CodeGen/PowerPC/and_sext.ll @@ -15,15 +15,15 @@ define i16 @test2(i16 sext %X, i16 sext %x) sext { %tmp1 = sext i16 %x to i32 %tmp2 = add i32 %tmp, %tmp1 %tmp4 = ashr i32 %tmp2, i8 1 - %tmp4 = trunc i32 %tmp4 to i16 - %tmp45 = sext i16 %tmp4 to i32 + %tmp5 = trunc i32 %tmp4 to i16 + %tmp45 = sext i16 %tmp5 to i32 %retval = trunc i32 %tmp45 to i16 ret i16 %retval } define i16 @test3(i32 zext %X) sext { %tmp1 = lshr i32 %X, i8 16 - %tmp1 = trunc i32 %tmp1 to i16 - ret i16 %tmp1 + %tmp2 = trunc i32 %tmp1 to i16 + ret i16 %tmp2 } |