[llvm] [AArch64][GlobalISel] Fix incorrect codegen for FPR16/FPR8 to GPR copies (PR #171499)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 10 06:30:31 PST 2025
================
@@ -568,6 +568,10 @@ AArch64LegalizerInfo::AArch64LegalizerInfo(const AArch64Subtarget &ST)
return Query.Types[0] == s128 &&
Query.MMODescrs[0].Ordering != AtomicOrdering::NotAtomic;
})
+ .widenScalarIf(
----------------
arsenm wrote:
The legal cases should be listed first in the legalizer rules, any of these modifying actions should be moved closer to the end of the rule list
https://github.com/llvm/llvm-project/pull/171499
More information about the llvm-commits
mailing list