[PATCH] D17584: Cleanup inline cost analysis code

Easwaran Raman via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 17:37:28 PST 2016


eraman updated this revision to Diff 50505.
eraman added a comment.

Reverted all instances of Threshold = std::max(0, Threshold - X) to Threshold -= X. This is not strictly required and Philip asked me to take it out of this patch.


http://reviews.llvm.org/D17584

Files:
  lib/Analysis/InlineCost.cpp
  test/Transforms/Inline/inline_unreachable-2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17584.50505.patch
Type: text/x-patch
Size: 5363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160312/4165adae/attachment.bin>


More information about the llvm-commits mailing list