[llvm] [GlobalISel][TableGen] MIR Pattern Variadics (PR #100563)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 04:04:25 PDT 2024


================
@@ -713,6 +731,12 @@ class GIMatchTableExecutor {
     return Ret;
   }
 
+  static ArrayRef<MachineOperand> getVariadicOperands(const MachineInstr &MI,
----------------
arsenm wrote:

Rename to something more generic, given that the number of operands to skip. Alternatively infer from the instruction properties where the variadic arguments begin 

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


More information about the llvm-commits mailing list