mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-11 06:06:52 +00:00
Update the insert position after scheduling, which may change the
position when emitting multiple blocks when executing a custom inserter. llvm-svn: 107797
This commit is contained in:
parent
c5344b8cc5
commit
317e584821
@ -550,6 +550,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() {
|
||||
{
|
||||
NamedRegionTimer T("Instruction Creation", GroupName, TimePassesIsEnabled);
|
||||
FuncInfo->MBB = Scheduler->EmitSchedule();
|
||||
FuncInfo->InsertPt = Scheduler->InsertPos;
|
||||
}
|
||||
|
||||
// Free the scheduler state.
|
||||
|
Loading…
x
Reference in New Issue
Block a user