aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Analysis/LiveValues.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Analysis/LiveValues.cpp b/lib/Analysis/LiveValues.cpp
index 7fc97c9..2bbe98a 100644
--- a/lib/Analysis/LiveValues.cpp
+++ b/lib/Analysis/LiveValues.cpp
@@ -162,9 +162,7 @@ LiveValues::Memo &LiveValues::compute(const Value *V) {
}
// Climb the immediate dominator tree from the use to the definition
- // and mark all intermediate blocks as live-through. Don't do this if
- // the user is a PHI because such users may not be dominated by the
- // definition.
+ // and mark all intermediate blocks as live-through.
for (; BB != DefBB; BB = getImmediateDominator(BB, DT)) {
if (BB != UseBB && !M.LiveThrough.insert(BB))
break;