1 ; RUN: opt < %s -scalarrepl | llvm-dis
2 ; Make sure that SROA "scalar conversion" can handle first class aggregates.
4 define i64 @test({i32, i32} %A) {
6 %Y = bitcast i64* %X to {i32,i32}*
7 store {i32,i32} %A, {i32,i32}* %Y
13 define {i32,i32} @test2(i64 %A) {
15 %Y = bitcast i64* %X to {i32,i32}*
18 %Q = load {i32,i32}* %Y