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

Ryan Cowan via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 31 02:35:11 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:
----------------
HolyMolyCowMan wrote:

I might be missing something but the `lowerExt` function uses the opcode of the instruction being legalized (so fpext in this case) & I don't see anything that is integer specific within that function.

If my understanding is correct, maybe it's worth me editing the comments to reflect this?

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


More information about the llvm-commits mailing list