summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-02-04 05:51:25 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-02-04 05:51:25 +0000
commitabb26bae4e3fd6818557cc029c59fd5b9293d6e9 (patch)
tree94016178b10a147c0d71c7d258c95b7afa7913f5 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parente38657812162a393db3e31bef3d8632cfa988410 (diff)
downloadbcm5719-llvm-abb26bae4e3fd6818557cc029c59fd5b9293d6e9.tar.gz
bcm5719-llvm-abb26bae4e3fd6818557cc029c59fd5b9293d6e9.zip
Drop the REDEF_BY_EC VNInfo flag.
A live range that has an early clobber tied redef now looks like a normal tied redef, except the early clobber def uses the early clobber slot. This is enough to handle any strange interference problems. llvm-svn: 149769
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index d72009ccd22..cea75ef4b4d 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -432,8 +432,6 @@ exit:
bool Extend = ValNo != 0;
if (!Extend)
ValNo = interval.getNextValue(start, VNInfoAllocator);
- if (Extend && MO.isEarlyClobber())
- ValNo->setHasRedefByEC(true);
LiveRange LR(start, end, ValNo);
interval.addRange(LR);
DEBUG(dbgs() << " +" << LR << '\n');
OpenPOWER on IntegriCloud