[PATCH] D60093: [LoopPredication] Allow predication of loop invariant computations

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 08:25:45 PDT 2019


reames updated this revision to Diff 195189.
reames added a comment.

Remove the invariant expression complexity, and the SCEV loop disposition case.  I'm still hoping to sink that into SCEV, but handling the simple case is straight forward and I'd like to get at least that in.  The SCEV patch turns out to be a bit more complex than I'd originally expected, so I need to take a step back and revaluate that approach.

Still working on the builder usage.  Likely to update again, but I wanted to keep the snapshot of the progress.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60093/new/

https://reviews.llvm.org/D60093

Files:
  lib/Transforms/Scalar/LoopPredication.cpp
  test/Transforms/LoopPredication/invariant_load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60093.195189.patch
Type: text/x-patch
Size: 10325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190415/ff855d6c/attachment.bin>


More information about the llvm-commits mailing list