[PATCH] D31085: [InlineCost] Increase the cost of Switch

Jun Bum Lim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 26 15:17:38 PDT 2017


junbuml updated this revision to Diff 96832.
junbuml added a comment.

Added FIXME as Hans suggested. 
I will commit it if there is any further comment from other reviewers by tomorrow. I will also post a follow-up patch to enable the flag (-inline-generic-switch-cost).

Thank you very much for the review.


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/SelectionDAG/SelectionDAGBuilder.h
  lib/CodeGen/TargetLoweringBase.cpp
  test/Transforms/Inline/AArch64/switch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31085.96832.patch
Type: text/x-patch
Size: 30746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170426/b912cfe4/attachment.bin>


More information about the llvm-commits mailing list