[PATCH] D31085: [InlineCost] Increase the cost of Switch
Jun Bum Lim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 10:36:54 PDT 2017
junbuml updated this revision to Diff 95777.
junbuml added a comment.
Addressed Hans' comments; now the switch cost heuristic just work with TLI.
https://reviews.llvm.org/D31085
Files:
include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Analysis/TargetTransformInfoImpl.h
include/llvm/CodeGen/BasicTTIImpl.h
include/llvm/Target/TargetLowering.h
lib/Analysis/InlineCost.cpp
lib/Analysis/TargetTransformInfo.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/TargetLoweringBase.cpp
test/Transforms/Inline/AArch64/switch.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31085.95777.patch
Type: text/x-patch
Size: 23793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170419/51536d3f/attachment.bin>
More information about the llvm-commits
mailing list