[PATCH] D82730: [SimplifyCFG] Merge identical basic blocks (WIP)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 14:12:56 PDT 2020


nikic updated this revision to Diff 274224.
nikic added a comment.

Improve performance, mainly by hashing in successors, which eliminates a lot of blocks that only differ in successors.


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

https://reviews.llvm.org/D82730

Files:
  llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll
  llvm/test/Transforms/LoopUnswitch/infinite-loop.ll
  llvm/test/Transforms/PGOProfile/chr.ll
  llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
  llvm/test/Transforms/SimplifyCFG/HoistCode.ll
  llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
  llvm/test/Transforms/SimplifyCFG/duplicate-landingpad.ll
  llvm/test/Transforms/SimplifyCFG/merge-blocks.ll
  llvm/test/Transforms/SimplifyCFG/wc-widen-block.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82730.274224.patch
Type: text/x-patch
Size: 38205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200629/2f2b32b1/attachment.bin>


More information about the llvm-commits mailing list