forked from OSchip/llvm-project
Add a comment for a todo in LoopUnroll post cleanup
llvm-svn: 290769
This commit is contained in:
parent
fdbb05b469
commit
fac031a178
|
@ -673,6 +673,11 @@ bool llvm::UnrollLoop(Loop *L, unsigned Count, unsigned TripCount, bool Force,
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: after peeling or unrolling, previously loop variant conditions are
|
||||
// likely to fold to constants, eagerly propagating those here will require
|
||||
// fewer cleanup passes to be run. Alternatively, a LoopEarlyCSE might be
|
||||
// appropriate.
|
||||
|
||||
NumCompletelyUnrolled += CompletelyUnroll;
|
||||
++NumUnrolled;
|
||||
|
||||
|
|
Loading…
Reference in New Issue