[llvm] [AArch64][SelectionDAG] Avoid cross-bank copy for NEON vcvtfp2fx result (PR #210275)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 17 07:14:17 PDT 2026
================
@@ -9121,6 +9121,49 @@ defm FCVTZS : SIMDFPScalarRShift<0, 0b11111, "fcvtzs">;
defm FCVTZU : SIMDFPScalarRShift<1, 0b11111, "fcvtzu">;
defm SCVTF : SIMDFPScalarRShift<0, 0b11100, "scvtf">;
defm UCVTF : SIMDFPScalarRShift<1, 0b11100, "ucvtf">;
+
+// Transformation for SIMD shift imm to fixed point imm for FPR-to-GPR result
+def fixedpoint_scalar_xform : SDNodeXForm<timm, [{
----------------
Lukacma wrote:
Have you tried renaming and then reusing fixedpoint_vec_xform or fixedpoint_recip_vec_xform ? (At some point we should merge them into single node)
https://github.com/llvm/llvm-project/pull/210275
More information about the llvm-commits
mailing list