[PATCH] D108087: [SimpleLoopUnswitch] Create SimpleLoopNestUnswitch pass

toshiki maekawa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 24 20:17:54 PDT 2021


uint256_t updated this revision to Diff 368543.
uint256_t added a comment.

- No longer do `findBestUnswitchTI` every time we call `unswitchBestCondition`.
- Remove the condition `BestUnswitchTIForLoopNest == findBestUnswitchTI`, which was confusing.


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

https://reviews.llvm.org/D108087

Files:
  llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  llvm/test/Transforms/SimpleLoopUnswitch/loop-nest-unswitch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108087.368543.patch
Type: text/x-patch
Size: 17881 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210825/da8bab1a/attachment.bin>


More information about the llvm-commits mailing list