Add support of uge and sge latch condition to Loop Prediction for
reverse loops.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Transforms/Scalar/LoopPredication.cpp | ||
---|---|---|
451 ↗ | (On Diff #132550) | pls land this as a separate NFC after separating out getLatchPredicateForGuard. |
Comment Actions
LGTM.
Btw, I actually meant separating out getLatchPredicateForGuard as NFC for just the conditions supported without this change (i.e. everything except SGE, UGE).
Then, in this change, adding support for UGE and SGE in that function and in IsUnsupportedPredicate, so that only changes related to SGE/UGE are in this patch :)