24 lines · plain
1; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s2 3; CHECK-LABEL: TestFoo:4; CHECK: std5; CHECK: bl TestBar6; CHECK: stbu7; CHECK: std8; CHECK: blr9 10%StructA = type <{ i64, { i64, i64 }, { i64, i64 } }>11 12define void @TestFoo(ptr %this) {13 %tmp = getelementptr inbounds %StructA, ptr %this, i64 0, i32 114 %tmp11 = getelementptr inbounds %StructA, ptr %this, i64 0, i32 1, i32 115 store ptr %tmp11, ptr %tmp16 call void @TestBar()17 %tmp13 = getelementptr inbounds %StructA, ptr %this, i64 0, i32 2, i32 118 store ptr %tmp13, ptr undef19 store i8 0, ptr %tmp1320 ret void21}22 23declare void @TestBar()24