[PATCH] D22630: Loop rotation
Aditya Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 18 12:34:27 PDT 2016
hiraditya added inline comments.
================
Comment at: llvm/lib/Analysis/LoopInfo.cpp:225
LoopID = MD;
+ I = TI;
+ }
----------------
mzolotukhin wrote:
> What if a loop has two backedges? `LoopID` would be the same for both of them, but `TI` obviously would be different.
If multiple instructions are branching to the loop-header with via a back-edge, I think, that means there are two different loops.
https://reviews.llvm.org/D22630
More information about the llvm-commits
mailing list