1 ; RUN: llc -march=hexagon < %s | FileCheck %s
3 ; CHECK-LABEL: enabled:
4 ; CHECK: memw({{.*}}) += #1
5 define void @enabled(i32* %p) #0 {
6 %v0 = load i32, i32* %p
12 ; CHECK-LABEL: disabled:
13 ; CHECK-NOT: memw({{.*}}) += #1
14 define void @disabled(i32* %p) #1 {
15 %v0 = load i32, i32* %p
17 store i32 %v1, i32* %p
21 attributes #0 = { nounwind }
22 attributes #1 = { nounwind "target-features"="-memops" }