AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64.
[oota-llvm.git] / test / CodeGen / ARM64 / convert-v2f64-v2i32.ll
1 ; RUN: llc < %s -march=arm64 -arm64-neon-syntax=apple | FileCheck %s
2
3 ; CHECK: fptosi_1
4 ; CHECK: fcvtzs.2d
5 ; CHECK: xtn.2s
6 ; CHECK: ret
7 define void @fptosi_1() nounwind noinline ssp {
8 entry:
9   %0 = fptosi <2 x double> undef to <2 x i32>
10   store <2 x i32> %0, <2 x i32>* undef, align 8
11   ret void
12 }
13
14 ; CHECK: fptoui_1
15 ; CHECK: fcvtzu.2d
16 ; CHECK: xtn.2s
17 ; CHECK: ret
18 define void @fptoui_1() nounwind noinline ssp {
19 entry:
20   %0 = fptoui <2 x double> undef to <2 x i32>
21   store <2 x i32> %0, <2 x i32>* undef, align 8
22   ret void
23 }
24