mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
Make sure to clear the CodeGenMap after each basic block is selected to avoid
cross MBB pollution. llvm-svn: 23470
This commit is contained in:
parent
5a82322c66
commit
6d1a2716a4
@ -87,6 +87,7 @@ namespace {
|
||||
DEBUG(BB->dump());
|
||||
// Select target instructions for the DAG.
|
||||
DAG.setRoot(Select(DAG.getRoot()));
|
||||
CodeGenMap.clear();
|
||||
DAG.RemoveDeadNodes();
|
||||
|
||||
// Emit machine code to BB.
|
||||
|
Loading…
Reference in New Issue
Block a user