1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Add a comment for a todo in LoopUnroll post cleanup

llvm-svn: 290769
This commit is contained in:
Philip Reames 2016-12-30 22:10:19 +00:00
parent 66b150315b
commit 65068167f2

View File

@ -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;