1 ; RUN: llc -march=hexagon < %s | FileCheck %s 2 ; Check for S4_addaddi: 3 ; CHECK: r{{[0-9]+}} = add(r{{[0-9]+}},add(r{{[0-9]+}},#2)) 4 5 define i32 @fred(i32 %a0, i32 %a1, i32* nocapture %a2) #0 { 6 b3: 7 %v4 = add nsw i32 %a0, 2 8 %v5 = add nsw i32 %v4, %a1 9 store i32 %v5, i32* %a2, align 4 10 ret i32 undef 11 } 12 13 attributes #0 = { nounwind } 14