1 ; RUN: llc -march=mipsel < %s | FileCheck %s
3 define i64 @shl0(i64 %a, i32 %b) nounwind readnone {
6 ; CHECK-NOT: lw $25, %call16(__
7 %sh_prom = zext i32 %b to i64
8 %shl = shl i64 %a, %sh_prom
12 define i64 @shr1(i64 %a, i32 %b) nounwind readnone {
15 ; CHECK-NOT: lw $25, %call16(__
16 %sh_prom = zext i32 %b to i64
17 %shr = lshr i64 %a, %sh_prom
21 define i64 @sra2(i64 %a, i32 %b) nounwind readnone {
24 ; CHECK-NOT: lw $25, %call16(__
25 %sh_prom = zext i32 %b to i64
26 %shr = ashr i64 %a, %sh_prom