[llvm-dev] Why MachineBasicBlcok doesn't have transferPredecessors() ?

PenYiWang via llvm-dev llvm-dev at lists.llvm.org
Fri Mar 13 04:21:55 PDT 2020


Hi

I want to ask a question.

(Maybe it is a trivial question.)

I found that there is transferSuccessors() in MachineBasicBlcok

So that when manipulating MachineBasicBlock,
we can use transferSuccessors to update the CFG easily.

Why there is not transferPredecessors in  MachineBasicBlcok ?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200313/fa25667e/attachment.html>


More information about the llvm-dev mailing list