[llvm] [Instruction] Add missing implementation for `moveAfter(InstListType::iterator)` (PR #143093)
Jeremy Morse via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 6 02:27:37 PDT 2025
================
@@ -197,6 +197,13 @@ void Instruction::moveAfter(Instruction *MovePos) {
moveBeforeImpl(*MovePos->getParent(), NextIt, false);
}
+void Instruction::moveAfter(InstListType::iterator MovePos) {
+ // We want this instruction to be moved to before NextIt in the instruction
----------------
jmorse wrote:
On a second glance, I think this is supposed to be "after" as it's the `moveAfter` method, would you agree?
https://github.com/llvm/llvm-project/pull/143093
More information about the llvm-commits
mailing list