TOOLS AND TECHNIQUES FOR COMPILER DESIGN
LLVM
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
A basic block can have multiple successors and predecessors
|
True
|
|
False
|
|
Either A or B
|
|
None of the above
|
Explanation:
Detailed explanation-1: -Basic blocks can have multiple predecessors and successors, however there is a MIR pass ( CriticalCallEdges ) that removes critical edges, which are edges that go from a multi-successor node to a multi-predecessor node. This pass is needed because some analyses require that there are no critical edges in the CFG.
There is 1 question to complete.