Skip to content

Commit 7d60680

Browse files
committed
[AArch64][GlobalISel] Add test coverage for arm64-vcvtxd_f32_f64.ll. NFC
1 parent 244588b commit 7d60680

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

llvm/test/CodeGen/AArch64/arm64-vcvtxd_f32_f64.ll

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
12
; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
3+
; RUN: llc < %s -mtriple=arm64-eabi -global-isel -global-isel-abort=2 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-GI
4+
5+
; CHECK-GI: warning: Instruction selection used fallback path for fcvtxn
26

37
define float @fcvtxn(double %a) {
48
; CHECK-LABEL: fcvtxn:
5-
; CHECK: fcvtxn s0, d0
6-
; CHECK-NEXT: ret
9+
; CHECK: // %bb.0:
10+
; CHECK-NEXT: fcvtxn s0, d0
11+
; CHECK-NEXT: ret
712
%vcvtxd.i = tail call float @llvm.aarch64.sisd.fcvtxn(double %a) nounwind
813
ret float %vcvtxd.i
914
}
10-
11-
declare float @llvm.aarch64.sisd.fcvtxn(double) nounwind readnone

0 commit comments

Comments
 (0)