summaryrefslogtreecommitdiff
path: root/test/CodeGen/MBlaze
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
commitd3027738856d57ee22930deca0c7977fdc13e633 (patch)
tree1b405b458f8347a9fa5f6a4a1251da4e0b9a82e3 /test/CodeGen/MBlaze
parentc55f58b1a6a3ed0c386353a88b2b04681407adbe (diff)
downloadllvm-d3027738856d57ee22930deca0c7977fdc13e633.tar.gz
llvm-d3027738856d57ee22930deca0c7977fdc13e633.tar.bz2
llvm-d3027738856d57ee22930deca0c7977fdc13e633.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125457 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/MBlaze')
-rw-r--r--test/CodeGen/MBlaze/shift.ll2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/CodeGen/MBlaze/shift.ll b/test/CodeGen/MBlaze/shift.ll
index 7eac6411de..99f0519c02 100644
--- a/test/CodeGen/MBlaze/shift.ll
+++ b/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