19 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; 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 48 9; Function Attrs: nounwind10define i32 @f0(i32 %a0) #0 {11b0:12 %v0 = mul nsw i32 %a0, 153613 store i32 %v0, ptr @g0, align 414 %v1 = sub nsw i32 0, %v015 ret i32 %v116}17 18attributes #0 = { nounwind }19