<div dir="ltr"><div><div><div>Hi,<br></div>I have a couple of questions about MachineBasicBlocks:<br><br></div>- If I have a pointer to an MBB, is there an easy way to find which block that precedes it in the MachineFunction blocks list?  (without iterating through all of the MF's basic blocks)<br>
<br></div><div>- Does LLVM make any effort to ensure that MBB's predecessors and successors lists are semantically correct?   For example, what happens if an MBB "falls through" into the next block, but the next block is not on its' successors list?<br>
<br></div><div>thanks!<br></div><div></div></div>