[PATCH] D37343: [CGP] Merge empty case blocks if no extra moves are added.

Balaram Makam via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 9 22:05:59 PDT 2017


bmakam updated this revision to Diff 114502.
bmakam retitled this revision from "[CodegenPrepare] Merge empty case blocks if no extra moves are added.(WIP)" to "[CGP] Merge empty case blocks if no extra moves are added.".
bmakam edited the summary of this revision.
bmakam added a comment.

- Added some more checks to allow merging empty cases when we can estimate extra moves are not added.
- Added test cases.
- spec2017/perlbench improves by 4.5%. No other improvements or regressions observed in Spec.

Please take a look.


https://reviews.llvm.org/D37343

Files:
  lib/CodeGen/CodeGenPrepare.cpp
  test/Transforms/CodeGenPrepare/skip-merging-case-block.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37343.114502.patch
Type: text/x-patch
Size: 6432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170910/be24f07c/attachment.bin>


More information about the llvm-commits mailing list