Krzysztof Parzyszek | 046090d | 2018-03-12 14:01:28 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=hexagon -O3 -hexagon-small-data-threshold=0 -disable-hexagon-misched < %s | FileCheck %s |
2 | ; CHECK-LABEL: f0 | ||||
3 | ; CHECK-DAG: [[REG:r[0-9]+]] = add | ||||
4 | ; CHECK-DAG: memw(##g0) = [[REG]].new | ||||
5 | |||||
6 | @g0 = external global i32, align 8 | ||||
7 | |||||
8 | ; Function Attrs: nounwind | ||||
9 | define void @f0(i32 %a0) #0 { | ||||
10 | b0: | ||||
11 | %v0 = add i32 %a0, 1 | ||||
12 | store i32 %v0, i32* @g0, align 4 | ||||
13 | ret void | ||||
14 | } | ||||
15 | |||||
16 | attributes #0 = { nounwind } |