mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
Revert r55817. It broke PIC. FastISel will need to find a different
approach here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55842 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2471a9169
commit
be0034e3c2
@ -731,9 +731,7 @@ void ScheduleDAG::EmitLiveInCopies(MachineBasicBlock *MBB) {
|
||||
|
||||
/// EmitSchedule - Emit the machine code in scheduled order.
|
||||
MachineBasicBlock *ScheduleDAG::EmitSchedule() {
|
||||
// If we're emitting the first code into the entry block, we
|
||||
// have additional work to do.
|
||||
bool isEntryBB = &MF->front() == BB && BB->empty();
|
||||
bool isEntryBB = &MF->front() == BB;
|
||||
|
||||
if (isEntryBB && !SchedLiveInCopies) {
|
||||
// If this is the first basic block in the function, and if it has live ins
|
||||
|
Loading…
Reference in New Issue
Block a user