blob: 73e513a8bceee7095b7f50a48f770a9b61d4f43a [file] [log] [blame]
Krzysztof Parzyszek5ffee8d2016-04-19 20:20:33 +00001; RUN: llc -march=hexagon -hexagon-small-data-threshold=0 < %s | FileCheck %s
2
3@global = external global i32, align 4
4
5; There was a bug causing ### to be printed. Make sure we print ## instead.
6; CHECK-LABEL: foo
7; CHECK: memw(##global) =
8
9define void @foo(i32 %x) #0 {
10entry:
11 %add = add nsw i32 %x, 1
12 store i32 %add, i32* @global, align 4
13 ret void
14}
15
16attributes #0 = { norecurse nounwind }
17