1*9880d681SAndroid Build Coastguard Worker; RUN: llc -O0 -mtriple=arm64-apple-ios7.0 -mcpu=generic < %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind ssp 4*9880d681SAndroid Build Coastguard Workerdefine void @test1() { 5*9880d681SAndroid Build Coastguard Worker %1 = sext i32 0 to i128 6*9880d681SAndroid Build Coastguard Worker call void @test2(i128 %1) 7*9880d681SAndroid Build Coastguard Worker ret void 8*9880d681SAndroid Build Coastguard Worker 9*9880d681SAndroid Build Coastguard Worker; The i128 is 0 so the we can test to make sure it is propogated into the x 10*9880d681SAndroid Build Coastguard Worker; registers that make up the i128 pair 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Worker; CHECK: mov x0, xzr 13*9880d681SAndroid Build Coastguard Worker; CHECK: mov x1, x0 14*9880d681SAndroid Build Coastguard Worker; CHECK: bl _test2 15*9880d681SAndroid Build Coastguard Worker 16*9880d681SAndroid Build Coastguard Worker} 17*9880d681SAndroid Build Coastguard Worker 18*9880d681SAndroid Build Coastguard Workerdeclare void @test2(i128) 19