[llvm-commits] [llvm] r132821 - /llvm/trunk/lib/CodeGen/TailDuplication.cpp
Rafael Espindola
rafael.espindola at gmail.com
Thu Jun 9 16:51:45 PDT 2011
Author: rafael
Date: Thu Jun 9 18:51:45 2011
New Revision: 132821
URL: http://llvm.org/viewvc/llvm-project?rev=132821&view=rev
Log:
Avoid a gcc warning about multiline comments.
Modified:
llvm/trunk/lib/CodeGen/TailDuplication.cpp
Modified: llvm/trunk/lib/CodeGen/TailDuplication.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TailDuplication.cpp?rev=132821&r1=132820&r2=132821&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TailDuplication.cpp (original)
+++ llvm/trunk/lib/CodeGen/TailDuplication.cpp Thu Jun 9 18:51:45 2011
@@ -691,13 +691,13 @@
// 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
More information about the llvm-commits
mailing list