[llvm] [AArch64][GlobalISel] Improve lowering of vector fp16 fpext (PR #165554)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 31 15:19:55 PDT 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:
----------------
arsenm wrote:

It's not doing trivial top bit replication. This is introducing double rounding which you can't just do 

https://github.com/llvm/llvm-project/pull/165554


More information about the llvm-commits mailing list