1 ; RUN: llc -march=hexagon < %s | FileCheck %s
2 ; CHECK: r{{[0-9]+}} = sub(#-1,r{{[0-9]+}})
4 define i32 @f0(i32 %a0) #0 {
6 %v0 = alloca i32, align 4
7 store i32 %a0, ptr %v0, align 4
8 %v1 = load i32, ptr %v0, align 4
13 attributes #0 = { nounwind }