23 lines · plain
1; RUN: opt -Os -S < %s | FileCheck %s2; Don't reset the alignment on the struct to 1.3; CHECK: align 44 5target triple = "hexagon"6 7%s.0 = type <{ i32, [2 x i8], [2 x i8] }>8 9; Function Attrs: nounwind optsize10define i32 @f0(i32 %a0) #0 {11b0:12 %v0 = inttoptr i32 %a0 to ptr13 %v2 = load volatile i32, ptr %v0, align 4, !tbaa !014 ret i32 %v215}16 17attributes #0 = { nounwind optsize }18 19!0 = !{!1, !1, i64 0}20!1 = !{!"int", !2}21!2 = !{!"omnipotent char", !3}22!3 = !{!"Simple C/C++ TBAA"}23