summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegisterCoalescer.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-10-10 21:28:57 +0000
committerMatthias Braun <matze@braunis.de>2013-10-10 21:28:57 +0000
commit2d5c32b3b50510d5f91c6c11d5bcf20f652b8b11 (patch)
tree6cafede48f9ff8506d3713e8bae6b8036e660484 /llvm/lib/CodeGen/RegisterCoalescer.cpp
parent364e6e90723e0f1e5cf2a4e0a773a76cf96bf04f (diff)
downloadbcm5719-llvm-2d5c32b3b50510d5f91c6c11d5bcf20f652b8b11.tar.gz
bcm5719-llvm-2d5c32b3b50510d5f91c6c11d5bcf20f652b8b11.zip
Work on LiveRange instead of LiveInterval where possible
Also change some pointer arguments to references at some places where 0-pointers are not allowed. llvm-svn: 192396
Diffstat (limited to 'llvm/lib/CodeGen/RegisterCoalescer.cpp')
-rw-r--r--llvm/lib/CodeGen/RegisterCoalescer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp
index 578653d06c4..e36c52fe062 100644
--- a/llvm/lib/CodeGen/RegisterCoalescer.cpp
+++ b/llvm/lib/CodeGen/RegisterCoalescer.cpp
@@ -2015,7 +2015,7 @@ bool RegisterCoalescer::joinVirtRegs(CoalescerPair &CP) {
// CR_Replace conflicts.
DEBUG(dbgs() << "\t\trestoring liveness to " << EndPoints.size()
<< " points: " << LHS << '\n');
- LIS->extendToIndices(&LHS, EndPoints);
+ LIS->extendToIndices(LHS, EndPoints);
return true;
}
OpenPOWER on IntegriCloud