1; RUN: opt -Os -S < %s | FileCheck %s 2; Don't reset the alignment on the struct to 1. 3; CHECK: align 4 4 5target triple = "hexagon" 6 7%s.0 = type <{ i32, [2 x i8], [2 x i8] }> 8 9; Function Attrs: nounwind optsize 10define i32 @f0(i32 %a0) #0 { 11b0: 12 %v0 = inttoptr i32 %a0 to ptr 13 %v2 = load volatile i32, ptr %v0, align 4, !tbaa !0 14 ret i32 %v2 15} 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