14 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; Check that we generate new value store.3 4@i = global i32 0, align 45 6define i32 @main(i32 %x, ptr %p) nounwind {7entry:8; CHECK: memw(r{{[0-9]+}}+#{{[0-9]+}}) = r{{[0-9]+}}.new9 %t0 = load i32, ptr @i, align 410 store i32 %t0, ptr %p, align 411 ret i32 %x12}13 14