[llvm] [AArch64][GlobalISel] Improve lowering of vector fp16 fpext (PR #165554)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 3 02:18:15 PST 2025
================
@@ -4852,6 +4852,7 @@ LegalizerHelper::lower(MachineInstr &MI, unsigned TypeIdx, LLT LowerHintTy) {
return lowerMemcpyInline(MI);
case G_ZEXT:
case G_SEXT:
+ case G_FPEXT:
----------------
davemgreen wrote:
My understanding is that providing that the larger/mid float type can represent all the values of the smaller type there is no rounding for extends. As we add more float LLT types it will likely need to be more specific with types though, so perhaps it makes sense to refactor it a little.
https://github.com/llvm/llvm-project/pull/165554
More information about the llvm-commits
mailing list