1; RUN: llc -march=hexagon < %s | FileCheck %s 2; M2_mpysin takes 8-bit unsigned immediates and is not extendable. 3; CHECK-NOT: = -mpyi(r{{[0-9]*}},#1536) 4 5target triple = "hexagon-unknown--elf" 6 7@g0 = common global i32 0, align 4 8 9; Function Attrs: nounwind 10define i32 @f0(i32 %a0) #0 { 11b0: 12 %v0 = mul nsw i32 %a0, 1536 13 store i32 %v0, i32* @g0, align 4 14 %v1 = sub nsw i32 0, %v0 15 ret i32 %v1 16} 17 18attributes #0 = { nounwind } 19