[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 13:24:50 PDT 2017


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

Integrated with Hans's review comments.


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.121176.patch
Type: text/x-patch
Size: 12272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171101/3185e29e/attachment.bin>


More information about the llvm-commits mailing list