aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/TailDuplication.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-06-09 23:51:45 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-06-09 23:51:45 +0000
commit4d7b4573f97157877f6875b69c9d32b2cb8c5329 (patch)
tree2030ee5d8fc24b9b6dc8ec4433b276ddcd551e76 /lib/CodeGen/TailDuplication.cpp
parent689d7d5dffc02993eef367be3380f2b4c49e434f (diff)
Avoid a gcc warning about multiline comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132821 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TailDuplication.cpp')
-rw-r--r--lib/CodeGen/TailDuplication.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/TailDuplication.cpp b/lib/CodeGen/TailDuplication.cpp
index e0344ef790..13e84fa678 100644
--- a/lib/CodeGen/TailDuplication.cpp
+++ b/lib/CodeGen/TailDuplication.cpp
@@ -691,13 +691,13 @@ TailDuplicatePass::TailDuplicate(MachineBasicBlock *TailBB, MachineFunction &MF,
// Handle the nasty case in that we duplicated a block that is part of a loop
// into some but not all of its predecessors. For example:
- // 1 -> 2 <-> 3
- // \
- // \---> rest
+ // 1 -> 2 <-> 3 |
+ // \ |
+ // \---> rest |
// if we duplicate 2 into 1 but not into 3, we end up with
- // 12 -> 3 <-> 2 -> rest
- // \ /
- // \----->-----/
+ // 12 -> 3 <-> 2 -> rest |
+ // \ / |
+ // \----->-----/ |
// If there was a "var = phi(1, 3)" in 2, it has to be ultimately replaced
// with a phi in 3 (which now dominates 2).
// What we do here is introduce a copy in 3 of the register defined by the