[PATCH] D93734: [LoopDeletion] Insert an early exit from dead path in loop

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 10 15:01:41 PST 2021


jonpa updated this revision to Diff 329788.
jonpa added a comment.

Patch updated to also run with the new pass manager.

This now gives a ~9% improvement on Omnetpp - just like it was with the legacy pass manager (before but not after Florians patch, I believe).

@fhahn : are you going to port your improvement to loop unswitching to newpm?


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

https://reviews.llvm.org/D93734

Files:
  llvm/include/llvm/Transforms/Utils/LoopUtils.h
  llvm/lib/Transforms/Scalar/LoopDeletion.cpp
  llvm/lib/Transforms/Utils/LoopUtils.cpp
  llvm/test/Transforms/LoopDeletion/early-exits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93734.329788.patch
Type: text/x-patch
Size: 25857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210310/2ffebbc1/attachment-0001.bin>


More information about the llvm-commits mailing list