summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-12-05 05:45:42 +0000
committerDan Gohman <gohman@apple.com>2008-12-05 05:45:42 +0000
commitd24be45d9979250d326a6cc72834722af8f2877e (patch)
tree4ef9648c903ce76f908789e120604ad0c6c6293c /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent67840c9803b57748abdbb732b9729207565a0c3a (diff)
downloadbcm5719-llvm-d24be45d9979250d326a6cc72834722af8f2877e.tar.gz
bcm5719-llvm-d24be45d9979250d326a6cc72834722af8f2877e.zip
Drop the reg argument to isRegReDefinedByTwoAddr, which was redundant.
llvm-svn: 60586
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index eb237efa120..18ee27be206 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -426,7 +426,7 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb,
// must be due to phi elimination or two addr elimination. If this is
// the result of two address elimination, then the vreg is one of the
// def-and-use register operand.
- if (mi->isRegReDefinedByTwoAddr(interval.reg, MOIdx)) {
+ if (mi->isRegReDefinedByTwoAddr(MOIdx)) {
// If this is a two-address definition, then we have already processed
// the live range. The only problem is that we didn't realize there
// are actually two values in the live interval. Because of this we
OpenPOWER on IntegriCloud