diff options
| author | Andrew Trick <atrick@apple.com> | 2013-06-21 18:33:14 +0000 |
|---|---|---|
| committer | Andrew Trick <atrick@apple.com> | 2013-06-21 18:33:14 +0000 |
| commit | 7df3f0170398331cbdf65c73589b8d1929972a90 (patch) | |
| tree | abf87963fee1cbe355f44339da46456bc3b9c388 | |
| parent | 714aec021d599a49c5126622dabd385f8f68111d (diff) | |
| download | bcm5719-llvm-7df3f0170398331cbdf65c73589b8d1929972a90.tar.gz bcm5719-llvm-7df3f0170398331cbdf65c73589b8d1929972a90.zip | |
whitespace
llvm-svn: 184570
| -rw-r--r-- | llvm/lib/CodeGen/LiveRangeEdit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveRangeEdit.cpp b/llvm/lib/CodeGen/LiveRangeEdit.cpp index b1de6a09fe3..ee1e8de3bd2 100644 --- a/llvm/lib/CodeGen/LiveRangeEdit.cpp +++ b/llvm/lib/CodeGen/LiveRangeEdit.cpp @@ -331,7 +331,7 @@ void LiveRangeEdit::eliminateDeadDefs(SmallVectorImpl<MachineInstr*> &Dead, TheDelegate->LRE_WillShrinkVirtReg(LI->reg); if (!LIS.shrinkToUses(LI, &Dead)) continue; - + // Don't create new intervals for a register being spilled. // The new intervals would have to be spilled anyway so its not worth it. // Also they currently aren't spilled so creating them and not spilling @@ -343,7 +343,7 @@ void LiveRangeEdit::eliminateDeadDefs(SmallVectorImpl<MachineInstr*> &Dead, break; } } - + if (BeingSpilled) continue; // LI may have been separated, create new intervals. |

