1 ; RUN: opt -Os -march=hexagon -S < %s | FileCheck %s
2 ; Don't reset the alignment on the struct to 1.
5 target triple = "hexagon"
7 %s.0 = type <{ i32, [2 x i8], [2 x i8] }>
9 ; Function Attrs: nounwind optsize
10 define i32 @f0(i32 %a0) #0 {
12 %v0 = inttoptr i32 %a0 to %s.0*
13 %v1 = getelementptr inbounds %s.0, %s.0* %v0, i32 0, i32 0
14 %v2 = load volatile i32, i32* %v1, align 4, !tbaa !0
18 attributes #0 = { nounwind optsize }
22 !2 = !{!"omnipotent char", !3}
23 !3 = !{!"Simple C/C++ TBAA"}