[PATCH] D50377: [LICM] Use ICFLoopSafetyInfo in LICM

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 16 04:21:10 PDT 2018


mkazantsev updated this revision to Diff 169806.
mkazantsev retitled this revision from "[MustExecute] Rework LoopSafetyInfo to make it more optimistic about throws" to "[LICM] Use ICFLoopSafetyInfo in LICM".
mkazantsev edited the summary of this revision.
mkazantsev added a comment.

I've checked in the underlying ICF logic in a separate class as NFC, see https://reviews.llvm.org/rL344601. The plan is to enable it in different passes one by one. This one enables it in LICM.


https://reviews.llvm.org/D50377

Files:
  include/llvm/Transforms/Utils/LoopUtils.h
  lib/Transforms/Scalar/LICM.cpp
  test/Transforms/LICM/guards.ll
  test/Transforms/LICM/hoist-mustexec.ll
  test/Transforms/LICM/hoist-nounwind.ll
  test/Transforms/LICM/preheader-safe.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50377.169806.patch
Type: text/x-patch
Size: 15168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181016/c21bfa3f/attachment.bin>


More information about the llvm-commits mailing list