[PATCH] D12418: Distribute the weight on the edge from switch to default statement to edges generated in lowering switch.

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 15:37:46 PDT 2015


congh updated this revision to Diff 33484.
congh marked an inline comment as done.
congh added a comment.

Update the patch according to Hans's comments. Also add descriptions to the test file explaining what to test.


http://reviews.llvm.org/D12418

Files:
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  test/CodeGen/AArch64/aarch64-deferred-spilling.ll
  test/CodeGen/ARM/jump-table-islands.ll
  test/CodeGen/Generic/MachineBranchProb.ll
  test/CodeGen/Thumb2/v8_IT_3.ll
  test/CodeGen/Thumb2/v8_IT_5.ll
  test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll
  test/CodeGen/X86/switch-bt.ll
  test/CodeGen/X86/switch-edge-weight.ll
  test/CodeGen/X86/switch-order-weight.ll
  test/CodeGen/X86/switch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12418.33484.patch
Type: text/x-patch
Size: 18742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150828/b72034ea/attachment.bin>


More information about the llvm-commits mailing list