xref: /aosp_15_r20/external/llvm/test/CodeGen/SPARC/parts.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -march=sparcv9    | FileCheck %s
2
3; CHECK-LABEL: test
4; CHECK:        srl %i1, 0, %o2
5; CHECK-NEXT:   mov %i2, %o0
6; CHECK-NEXT:   call __ashlti3
7; CHECK-NEXT:   mov %i3, %o1
8; CHECK-NEXT:   mov %o0, %i0
9
10define i128 @test(i128 %a, i128 %b) {
11entry:
12    %tmp = shl i128 %b, %a
13    ret i128 %tmp
14}
15