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

Jun Bum Lim via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 13:19:06 PDT 2016


junbuml updated this revision to Diff 75209.
junbuml added a comment.

Integrated David's comments by adding support to handle multiple empty blocks sharing the same incoming value for the PHIs in the DestBB.  Added f_switch3() in the testcase, which will describe the case of  multiple empty blocks. Please take a look and let me know any comments.

Thanks,
Jun


https://reviews.llvm.org/D22696

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22696.75209.patch
Type: text/x-patch
Size: 15621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161019/962f35c2/attachment.bin>


More information about the llvm-commits mailing list