[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
Fri Oct 27 14:47:53 PDT 2017


xur updated this revision to Diff 120702.
xur added a comment.

Integrated the review comments and suggestion 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/X86/switch.ll

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


More information about the llvm-commits mailing list