[PATCH] D82730: [SimplifyCFG] Merge identical basic blocks (WIP)
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 28 14:30:59 PDT 2020
nikic created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
Merge basic blocks that are exactly the same, inspired by https://bugs.llvm.org/show_bug.cgi?id=46402.
There's stuff to figure out here first, such as a 350% compile-time regression on CMakeFiles/clamscan.dir/libclamav_nsis_LZMADecode.c.o.
Repository:
rG LLVM Github Monorepo
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.273972.patch
Type: text/x-patch
Size: 37867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200628/12d8fd4c/attachment-0001.bin>
More information about the llvm-commits
mailing list