[PATCH] D17201: [SCEV] Introduce a guarded backedge taken count and use it in LAA and LV
email@example.com via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 7 06:37:15 PST 2016
sbaranga updated this revision to Diff 49955.
sbaranga added a comment.
This update addresses the comments from Sanjoy from the previous
Renamed GuardedBackedgeTakenCount -> PredicatedBackedgeTakenCount, for
consistency with existing code.
Modified ScalarEvolution's print method to also print the predicated
backedge taken count. Used this feature to add regression tests that
directly check SCEV's output.
Cloned the backedge taken info map to store information for the predicated
backedge taken count, and used this to lazily compute the predicated
backedge taken count. This will allow users of SCEV that don't need
the predicated backedge taken count to not pay the cost of computing it.
This approach is also much less bug-prone then the previous one, as
the new information (the predicated backedge taken count) is is another
data structure that must be explicitly accessed.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 47943 bytes
Desc: not available
More information about the llvm-commits