[PATCH] D39262: [CodeGen] Peel off the dominant case in switch statement in lowering

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 1 16:04:02 PDT 2017


xur updated this revision to Diff 121204.
xur marked 2 inline comments as done.
xur added a comment.

Here is the patch that Integrated with the review comments from Hans.

Thanks!

-Rong


https://reviews.llvm.org/D39262

Files:
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  test/CodeGen/Generic/MachineBranchProb.ll
  test/CodeGen/Generic/switch-lower-peel-top-case.ll
  test/CodeGen/SystemZ/loop-03.ll
  test/CodeGen/X86/switch-bt.ll
  test/CodeGen/X86/switch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39262.121204.patch
Type: text/x-patch
Size: 11994 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171101/f2db6bd0/attachment.bin>


More information about the llvm-commits mailing list