1; RUN: llc -march=hexagon < %s | FileCheck %s 2; Check that we generate new value stores. 3 4; CHECK: r[[REG:[0-9]+]] = sfadd(r{{[0-9]+}},r{{[0-9]+}}) 5; CHECK-NOT: } 6; CHECK: memw({{.*}}) = r[[REG]].new 7define void @f0(float %a0, float %a1) #0 { 8b0: 9 %v0 = alloca float, align 4 10 %v1 = alloca float, align 4 11 %v2 = alloca float*, align 4 12 %v3 = alloca i32, align 4 13 %v4 = load float, float* %v0, align 4 14 %v5 = load float, float* %v1, align 4 15 %v6 = fadd float %v5, %v4 16 %v7 = load i32, i32* %v3, align 4 17 %v8 = load float*, float** %v2, align 4 18 %v9 = getelementptr inbounds float, float* %v8, i32 %v7 19 store float %v6, float* %v9, align 4 20 ret void 21} 22 23attributes #0 = { nounwind } 24