3 Commits

Author SHA1 Message Date
Daniil Suchkov
fe950cba8f Update LoopPredication test to fix buildbot failure.
This patch updates tests added in 5f2b7879f16ad5023f0684febeb0a20f7d53e4a8.
2021-09-16 23:37:59 +00:00
Daniil Suchkov
0e36288318 [LoopPredication] Report changes correctly when attempting loop exit predication
To make the IR easier to analyze, this pass makes some minor transformations.
After that, even if it doesn't decide to optimize anything, it can't report that
it changed nothing and preserved all the analyses.

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D109855
2021-09-16 22:49:55 +00:00
Daniil Suchkov
5f2b7879f1 NFC. Add tests exposing missing analysis invalidation in LoopPredication. 2021-09-16 22:49:55 +00:00