1 ; RUN: llc -mtriple=mipsel -mcpu=mips32r2 -mattr=+micromips \
2 ; RUN: -relocation-model=static -O2 < %s | FileCheck %s
3 ; RUN: llc -mtriple=mipsel -mcpu=mips32r6 -mattr=+micromips \
4 ; RUN: -relocation-model=static -O2 < %s | FileCheck %s -check-prefix=CHECK-MMR6
6 ; Function Attrs: nounwind
7 define i32 @foo(i32 signext %a) #0 {
9 %a.addr = alloca i32, align 4
10 store i32 %a, ptr %a.addr, align 4
11 %0 = load i32, ptr %a.addr, align 4
13 %call = call i32 @bar(i32 signext %shl)
17 declare i32 @bar(i32 signext) #1
22 ; CHECK-MMR6-NOT: sll16