summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MBlaze/shift.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-02-13 09:02:52 +0000
committerChris Lattner <sabre@nondot.org>2011-02-13 09:02:52 +0000
commit2a720d933a130b07b3e7ebe85a072243a9dd84d8 (patch)
tree728883882db9b884656f85b48527fa9364faddca /llvm/test/CodeGen/MBlaze/shift.ll
parent20541a6da6a65f30f2890bf7d5498969d13e19b8 (diff)
downloadbcm5719-llvm-2a720d933a130b07b3e7ebe85a072243a9dd84d8.tar.gz
bcm5719-llvm-2a720d933a130b07b3e7ebe85a072243a9dd84d8.zip
fix visitShift to properly zero extend the shift amount if the provided operand
is narrower than the shift register. Doing an anyext provides undefined bits in the top part of the register. llvm-svn: 125457
Diffstat (limited to 'llvm/test/CodeGen/MBlaze/shift.ll')
-rw-r--r--llvm/test/CodeGen/MBlaze/shift.ll2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/MBlaze/shift.ll b/llvm/test/CodeGen/MBlaze/shift.ll
index 7eac6411dec..99f0519c020 100644
--- a/llvm/test/CodeGen/MBlaze/shift.ll
+++ b/llvm/test/CodeGen/MBlaze/shift.ll
@@ -13,7 +13,6 @@ define i8 @test_i8(i8 %a, i8 %b) {
; FUN: andi
; FUN: add
; FUN: bnei
- ; SHT-NOT: andi
; SHT-NOT: bnei
ret i8 %tmp.1
@@ -50,7 +49,6 @@ define i16 @test_i16(i16 %a, i16 %b) {
; FUN: andi
; FUN: add
; FUN: bnei
- ; SHT-NOT: andi
; SHT-NOT: bnei
ret i16 %tmp.1
OpenPOWER on IntegriCloud