[llvm] 7d60680 - [AArch64][GlobalISel] Add test coverage for arm64-vcvtxd_f32_f64.ll. NFC
David Green via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 06:14:31 PDT 2025
Author: David Green
Date: 2025-09-09T14:14:26+01:00
New Revision: 7d6068051011f6783cf93553c10fc475af5c7b11
URL: https://github.com/llvm/llvm-project/commit/7d6068051011f6783cf93553c10fc475af5c7b11
DIFF: https://github.com/llvm/llvm-project/commit/7d6068051011f6783cf93553c10fc475af5c7b11.diff
LOG: [AArch64][GlobalISel] Add test coverage for arm64-vcvtxd_f32_f64.ll. NFC
Added:
Modified:
llvm/test/CodeGen/AArch64/arm64-vcvtxd_f32_f64.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AArch64/arm64-vcvtxd_f32_f64.ll b/llvm/test/CodeGen/AArch64/arm64-vcvtxd_f32_f64.ll
index 845b8cb9a1fe8..5dd882106883d 100644
--- a/llvm/test/CodeGen/AArch64/arm64-vcvtxd_f32_f64.ll
+++ b/llvm/test/CodeGen/AArch64/arm64-vcvtxd_f32_f64.ll
@@ -1,11 +1,14 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
+; RUN: llc < %s -mtriple=arm64-eabi -global-isel -global-isel-abort=2 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-GI
+
+; CHECK-GI: warning: Instruction selection used fallback path for fcvtxn
define float @fcvtxn(double %a) {
; CHECK-LABEL: fcvtxn:
-; CHECK: fcvtxn s0, d0
-; CHECK-NEXT: ret
+; CHECK: // %bb.0:
+; CHECK-NEXT: fcvtxn s0, d0
+; CHECK-NEXT: ret
%vcvtxd.i = tail call float @llvm.aarch64.sisd.fcvtxn(double %a) nounwind
ret float %vcvtxd.i
}
-
-declare float @llvm.aarch64.sisd.fcvtxn(double) nounwind readnone
More information about the llvm-commits
mailing list