[llvm] [AArch64] Remove redundant FMOV for zero-extended i32/i16 loads to f64 (PR #146920)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 8 04:49:38 PDT 2025
================
@@ -0,0 +1,14 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -mtriple=aarch64-linux-gnu -o - %s | FileCheck %s
+
+define double @_Z9load_u64_from_u32_testPj(ptr %n) {
----------------
davemgreen wrote:
Do you mind adding tests for each of the cases in the gobolt link (they can be in the same file). We might as well add patterns for all of them too, so that they all work the same.
https://github.com/llvm/llvm-project/pull/146920
More information about the llvm-commits
mailing list