Commit c1bd07cd authored by Committed by Marge BotBrowse files
Fix #17334 where NCG did not properly update the CFG.
Statements can change the basic block in which instructions are placed during instruction selection. We have to keep track of this switch of the current basic block as we need this information in order to properly update the CFG. This commit implements this change and fixes #17334. We do so by having stmtToInstr return the new block id if a statement changed the basic block.
Showing with 503 additions and 242 deletions