mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Make sure to clear the CodeGenMap after each basic block is selected to avoid
cross MBB pollution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23470 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5324fec644
commit
333bd835bd
@ -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