18 lines · plain
1; RUN: llc -mtriple=hexagon -hexagon-small-data-threshold=0 < %s | FileCheck %s2 3@global = external global i32, align 44 5; There was a bug causing ### to be printed. Make sure we print ## instead.6; CHECK-LABEL: foo7; CHECK: memw(##global) =8 9define void @foo(i32 %x) #0 {10entry:11 %add = add nsw i32 %x, 112 store i32 %add, ptr @global, align 413 ret void14}15 16attributes #0 = { norecurse nounwind }17 18