[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
Mon Sep 25 05:05:12 PDT 2017


bmakam updated this revision to Diff 116503.
bmakam edited the summary of this revision.
bmakam added a comment.

Address review comments:

- Added more test cases.



- Remove quadratic complexity to calculate DT.



- Simplified the predicate to dominates(Pred, DestBB) as suggested by Eli.




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.116503.patch
Type: text/x-patch
Size: 7113 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170925/3b438ec7/attachment.bin>


More information about the llvm-commits mailing list