1 ; RUN: llc -march=hexagon < %s | FileCheck %s
2 ; Check that we generate new value store.
4 @i = global i32 0, align 4
6 define i32 @main(i32 %x, ptr %p) nounwind {
8 ; CHECK: memw(r{{[0-9]+}}+#{{[0-9]+}}) = r{{[0-9]+}}.new
9 %t0 = load i32, ptr @i, align 4
10 store i32 %t0, ptr %p, align 4