[PATCH] D136233: [SimpleLoopUnswitch] Inject loop-invariant conditions and unswitch them when it's profitable

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 04:57:15 PST 2023


mkazantsev updated this revision to Diff 489507.
mkazantsev marked 2 inline comments as done.
mkazantsev added a comment.

Addressed comments:

- No preservation of implicit null check & range metadata
- More verbose comments


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

https://reviews.llvm.org/D136233

Files:
  llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  llvm/test/Transforms/SimpleLoopUnswitch/inject-invariant-conditions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136233.489507.patch
Type: text/x-patch
Size: 28900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230116/3e930e03/attachment.bin>


More information about the llvm-commits mailing list