1 ; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi=n64 < %s | FileCheck %s
3 define void @foo(ptr noalias sret(i32) %agg.result) nounwind {
6 ; CHECK: sw {{.*}}, 0($4)
8 ; CHECK-NEXT: move $2, $4
10 store i32 42, ptr %agg.result
14 define void @bar(i32 signext %v, ptr noalias sret(i32) %agg.result) nounwind {
19 ; CHECK-NEXT: move $2, $5
21 store i32 %v, ptr %agg.result