1 ; RUN: llc < %s -march=nvptx 2>&1 | FileCheck %s
2 ; Allow to make libcalls that are defined in the current module
4 ; Underlying libcall declaration
5 ; CHECK: .visible .func (.param .align 16 .b8 func_retval0[16]) __umodti3
7 define i128 @remainder(i128, i128) {
9 ; CHECK: { // callseq 0, 0
10 ; CHECK: call.uni (retval0),
11 ; CHECK-NEXT: __umodti3,
16 ; CHECK-NEXT: ld.param.v2.b64 {%[[REG0:rd[0-9]+]], %[[REG1:rd[0-9]+]]}, [retval0+0];
17 ; CHECK-NEXT: } // callseq 0
22 ; CHECK-NEXT: st.param.v2.b64 [func_retval0+0], {%[[REG0]], %[[REG1]]};
27 ; Underlying libcall definition
28 ; CHECK: .visible .func (.param .align 16 .b8 func_retval0[16]) __umodti3(
29 define i128 @__umodti3(i128, i128) {