[PATCH] D109855: [LoopPredication] Report changes correctly when attempting loop exit predication

Daniil Suchkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 15 14:35:42 PDT 2021


DaniilSuchkov created this revision.
DaniilSuchkov added a reviewer: reames.
Herald added a subscriber: hiraditya.
DaniilSuchkov requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


https://reviews.llvm.org/D109855

Files:
  llvm/lib/Transforms/Scalar/LoopPredication.cpp
  llvm/test/Transforms/LoopPredication/invalidate-analyses.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109855.372807.patch
Type: text/x-patch
Size: 4445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210915/929656c5/attachment.bin>


More information about the llvm-commits mailing list