There is no restriction. For example, indirect branches can have multiple (more
than two) targets.
--
Krzysztof Parzyszek kparzysz at quicinc.com<mailto:kparzysz at
quicinc.com> AI tools development
From: llvm-dev <llvm-dev-bounces at lists.llvm.org> On Behalf Of Svetlana
Getmanskaya via llvm-dev
Sent: Monday, April 19, 2021 6:52 AM
To: llvm-dev at lists.llvm.org
Subject: [EXT] [llvm-dev] Successors of MBB
Hello All,
In my implementation of EmitInstrWithCustomInserter I have two branches in
machine basic block so this MBB has 3 successors (two from branches and one
fallthrough) but I've not found such a solution in other targets. I wonder
if there is any restriction for the number of successors for MBB?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20210420/edad7dea/attachment-0001.html>