mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Revert 51440 as it breaks a bunch of PIC tests.
llvm-svn: 51513
This commit is contained in:
parent
c4932afddc
commit
50abc2a7f1
@ -1150,9 +1150,7 @@ rewriteInstructionsForSpills(const LiveInterval &li, bool TrySplit,
|
||||
}
|
||||
MachineBasicBlock *MBB = MI->getParent();
|
||||
|
||||
// ReMatDefMI is a clone and not in the IR at all, so check
|
||||
// RefMatOrigDefMI too.
|
||||
if (ImpUse && MI != ReMatDefMI && MI != ReMatOrigDefMI) {
|
||||
if (ImpUse && MI != ReMatDefMI) {
|
||||
// Re-matting an instruction with virtual register use. Update the
|
||||
// register interval's spill weight to HUGE_VALF to prevent it from
|
||||
// being spilled.
|
||||
|
Loading…
Reference in New Issue
Block a user