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)
5 target triple = "hexagon-unknown--elf"
7 @g0 = common global i32 0, align 4
9 ; Function Attrs: nounwind
10 define i32 @f0(i32 %a0) #0 {
12 %v0 = mul nsw i32 %a0, 1536
13 store i32 %v0, ptr @g0, align 4
14 %v1 = sub nsw i32 0, %v0
18 attributes #0 = { nounwind }