1; RUN: llc < %s -march=mips -mattr=mips16 | FileCheck %s -check-prefix=M16 2; RUN: llc < %s -march=mips -mcpu=mips2 | FileCheck %s -check-prefix=GP32 3; RUN: llc < %s -march=mips -mcpu=mips32 | FileCheck %s -check-prefix=GP32 4; RUN: llc < %s -march=mips -mcpu=mips32r6 | FileCheck %s -check-prefix=GP32 5; RUN: llc < %s -march=mips -mcpu=mips3 -target-abi n64 | FileCheck %s -check-prefix=GP64 6; RUN: llc < %s -march=mips -mcpu=mips64 -target-abi n64 | FileCheck %s -check-prefix=GP64 7; RUN: llc < %s -march=mips -mcpu=mips64r6 -target-abi n64 | FileCheck %s -check-prefix=GP64 8 9declare void @bar(i32*) 10 11define void @foo(i32 %sz) { 12 ; ALL-LABEL: foo: 13 14 ; M16-NOT: addiu $sp, 0 # 16 bit inst 15 ; GP32-NOT: addiu $sp, $sp, 0 16 ; GP64-NOT: daddiu $sp, $sp, 0 17 %a = alloca i32, i32 %sz 18 call void @bar(i32* %a) 19 ret void 20} 21