[llvm] [GlobalISel] Add support to moreElementsVector for G_SEXT, G_ZEXT and G_ANYEXT (PR #85038)

Dhruv Chawla via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 04:06:07 PDT 2024


================
@@ -5496,6 +5496,26 @@ LegalizerHelper::moreElementsVector(MachineInstr &MI, unsigned TypeIdx,
     return Legalized;
   }
 
+  case TargetOpcode::G_SEXT:
----------------
dc03-work wrote:

Awesome, that works - though I have to set AArch64LegalizerInfo to use index 0 instead of 1.

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


More information about the llvm-commits mailing list