[llvm] [AArch64][GlobalISel] Lower unmerge to extract_subvector (PR #195046)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 02:43:45 PDT 2026


================
@@ -7862,6 +7862,15 @@ AArch64InstructionSelector::selectExtractHigh(MachineOperand &Root) const {
       return {{[=](MachineInstrBuilder &MIB) { MIB.addUse(ExtReg); }}};
     }
   }
+  if (Extract->MI->getOpcode() == TargetOpcode::G_EXTRACT_SUBVECTOR &&
+      Extract->MI->getNumOperands() == 3) {
----------------
arsenm wrote:

The operand count can't be different 

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


More information about the llvm-commits mailing list