Merging r258471:
[oota-llvm.git] / test / CodeGen / AArch64 / i128-fast-isel-fallback.ll
1 ; RUN: llc -O0 -mtriple=arm64-apple-ios7.0 -mcpu=generic < %s | FileCheck %s
2
3 ; Function Attrs: nounwind ssp
4 define void @test1() {
5   %1 = sext i32 0 to i128
6   call void  @test2(i128 %1)
7   ret void
8
9 ; The i128 is 0 so the we can test to make sure it is propogated into the x
10 ; registers that make up the i128 pair
11
12 ; CHECK:  mov  x0, xzr
13 ; CHECK:  mov  x1, x0
14 ; CHECK:  bl  _test2
15
16 }
17
18 declare void @test2(i128)