summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2018-10-08 23:47:35 +0000
committerMatthias Braun <matze@braunis.de>2018-10-08 23:47:35 +0000
commit3e66f189fb335157816ebbf5beea2861f7f3550b (patch)
tree503183d8734a3b18069d70d65b71a736f441bc3f
parent8ae1bee13043781f56a9f22363185289b4b63491 (diff)
PHIElimination: Remove wrong comment; NFC
The comment was contradicting the code. Looking at history the feature was implemented a day after the comment was written without dropping the comment.
-rw-r--r--llvm/lib/CodeGen/PHIElimination.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp
index 7021d2c2bf9..b9801c6fd97 100644
--- a/llvm/lib/CodeGen/PHIElimination.cpp
+++ b/llvm/lib/CodeGen/PHIElimination.cpp
@@ -153,8 +153,7 @@ bool PHIElimination::runOnMachineFunction(MachineFunction &MF) {
// This pass takes the function out of SSA form.
MRI->leaveSSA();
- // Split critical edges to help the coalescer. This does not yet support
- // updating LiveIntervals, so we disable it.
+ // Split critical edges to help the coalescer.
if (!DisableEdgeSplitting && (LV || LIS)) {
MachineLoopInfo *MLI = getAnalysisIfAvailable<MachineLoopInfo>();
for (auto &MBB : MF)