1; RUN: llc -march=mips < %s | FileCheck %s 2 3%struct.sret0 = type { i32, i32, i32 } 4 5define void @test0(%struct.sret0* noalias sret(%struct.sret0) %agg.result, i32 %dummy) nounwind { 6entry: 7; CHECK: sw ${{[0-9]+}}, {{[0-9]+}}($4) 8; CHECK: sw ${{[0-9]+}}, {{[0-9]+}}($4) 9; CHECK: sw ${{[0-9]+}}, {{[0-9]+}}($4) 10 getelementptr %struct.sret0, %struct.sret0* %agg.result, i32 0, i32 0 ; <i32*>:0 [#uses=1] 11 store i32 %dummy, i32* %0, align 4 12 getelementptr %struct.sret0, %struct.sret0* %agg.result, i32 0, i32 1 ; <i32*>:1 [#uses=1] 13 store i32 %dummy, i32* %1, align 4 14 getelementptr %struct.sret0, %struct.sret0* %agg.result, i32 0, i32 2 ; <i32*>:2 [#uses=1] 15 store i32 %dummy, i32* %2, align 4 16 ret void 17} 18 19