[PATCH] D12166: Assign weights to edges to jump table when lowering switch statement.
Cong Hou via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 20 17:48:30 PDT 2015
congh updated this revision to Diff 32778.
congh added a comment.
Update the patch by also adding forgotten edge weight when adding bit test header for lowering switch statement.
http://reviews.llvm.org/D12166
Files:
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
test/CodeGen/ARM/jump-table-islands.ll
test/CodeGen/Mips/nacl-align.ll
test/CodeGen/X86/switch-jump-table.ll
test/CodeGen/X86/switch.ll
test/CodeGen/X86/x86-shrink-wrapping.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12166.32778.patch
Type: text/x-patch
Size: 6098 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150821/b52f3f83/attachment.bin>
More information about the llvm-commits
mailing list