brintos

brintos / llvm-project-archived public Read only

0
0
Text · 622 B · 99a77ff Raw
15 lines · plain
1; RUN: llc < %s -O0 -mtriple=nvptx64 -mcpu=sm_20 | FileCheck %s2; RUN: %if ptxas %{ llc < %s -O0 -mtriple=nvptx64 -mcpu=sm_20 | %ptxas-verify %}3 4; CHECK-LABEL: .visible .func (.param .align 16 .b8 func_retval0[32]) foo(5define { i128, i128 } @foo(i64 %a, i32 %b) {6  %1 = sext i64 %a to i1287  %2 = sext i32 %b to i1288  %3 = insertvalue { i128, i128 } undef, i128 %1, 09  %4 = insertvalue { i128, i128 } %3, i128 %2, 110 11  ; CHECK: st.param.v2.b64 [func_retval0],  {%[[REG1:rd[0-9]+]], %[[REG2:rd[0-9]+]]};12  ; CHECK: st.param.v2.b64 [func_retval0+16], {%[[REG3:rd[0-9]+]], %[[REG4:rd[0-9]+]]};13  ret { i128, i128 } %414}15