[PATCH] D22696: [CodeGenPrep] Skip merging empty case blocks

Jun Bum Lim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 30 08:37:29 PST 2016


junbuml removed rL LLVM as the repository for this revision.
junbuml updated this revision to Diff 79746.
junbuml added a comment.

This change was reverted in r288052 due to the invalid loop info after eliminating an empty block. Now, I create LoopInfo when creating BFI/BPI so that it's not impacted by previous empty block  eliminated.


https://reviews.llvm.org/D22696

Files:
  lib/CodeGen/CodeGenPrepare.cpp
  test/CodeGen/X86/phi-immediate-factoring.ll
  test/CodeGen/X86/ragreedy-hoist-spill.ll
  test/Transforms/CodeGenPrepare/AArch64/widen_switch.ll
  test/Transforms/CodeGenPrepare/X86/widen_switch.ll
  test/Transforms/CodeGenPrepare/skip-merging-case-block.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22696.79746.patch
Type: text/x-patch
Size: 18730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161130/01bfb05d/attachment.bin>


More information about the llvm-commits mailing list