[PATCH] D61010: [NFC] Instruction: introduce changeSuccessor() function, use it

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 23 22:13:15 PDT 2019


craig.topper added inline comments.


================
Comment at: include/llvm/IR/Instruction.h:670
+  /// This instruction must be a terminator.
+  void changeSuccessor(BasicBlock *OldBB, BasicBlock *NewBB);
+
----------------
replaceSuccessorWith?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61010/new/

https://reviews.llvm.org/D61010





More information about the llvm-commits mailing list