1 ; Test the passing of scalar i128 values on z/OS.
3 ; RUN: llc < %s -mtriple=s390x-ibm-zos -mcpu=z13 | FileCheck %s
5 ; CHECK-LABEL: call_i128:
6 ; CHECK-DAG: larl 1,L#CPI0_0
7 ; CHECK-DAG: vl 0,0(1),3
8 ; CHECK-DAG: vst 0,2256(4),3
9 ; CHECK-DAG: larl 1,L#CPI0_1
10 ; CHECK-DAG: vl 0,0(1),3
11 ; CHECK-DAG: vst 0,2272(4),3
12 ; CHECK-DAG: la 1,2288(4)
13 ; CHECK-DAG: la 2,2272(4)
14 ; CHECK-DAG: la 3,2256(4)
16 define i128 @call_i128() {
18 %retval = call i128 (i128, i128) @pass_i128(i128 64, i128 65)
22 ; CHECK-LABEL: pass_i128:
27 define i128 @pass_i128(i128 %arg0, i128 %arg1) {
29 %N = add i128 %arg0, %arg1