summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitc9e93a44bee74e455f562bc101312e4b6ba3a881 (patch)
tree04a76914fc3901c9bf37df84eb0c0fe2cc72ded6 /llvm/lib/CodeGen/TailDuplication.cpp
parent50aab549c09e1f94abd76b320555ed3a1a4d4a40 (diff)
downloadbcm5719-llvm-c9e93a44bee74e455f562bc101312e4b6ba3a881.tar.gz
bcm5719-llvm-c9e93a44bee74e455f562bc101312e4b6ba3a881.zip
Avoid a gcc warning about multiline comments.
llvm-svn: 132821
Diffstat (limited to 'llvm/lib/CodeGen/TailDuplication.cpp')
-rw-r--r--llvm/lib/CodeGen/TailDuplication.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/TailDuplication.cpp b/llvm/lib/CodeGen/TailDuplication.cpp
index e0344ef7902..13e84fa6785 100644
--- a/llvm/lib/CodeGen/TailDuplication.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud