[llvm] [MachineInstr] add insert method for variadic instructions (PR #67699)
Nick Desaulniers via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 30 09:56:26 PDT 2023
================
@@ -2475,3 +2475,45 @@ MachineInstr::getFirst5RegLLTs() const {
Reg2, getRegInfo()->getType(Reg2), Reg3, getRegInfo()->getType(Reg3),
Reg4, getRegInfo()->getType(Reg4));
}
+
+void MachineInstr::insert(mop_iterator It, ArrayRef<MachineOperand> Ops) {
+ if (!It || Ops.empty())
----------------
nickdesaulniers wrote:
done in https://github.com/llvm/llvm-project/pull/67699/commits/4a862dd7a3c7e544ed13836a7f94f2ccf2df154c
https://github.com/llvm/llvm-project/pull/67699
More information about the llvm-commits
mailing list