[PATCH] Teach InlineCost to account for a null check which can be folded away

Philip Reames listmail at philipreames.com
Mon Apr 20 17:09:12 PDT 2015


Addressing Sanjoys comment.  Thanks!  I figured that had to exist, but wasn't finding it on Function.  Turns out it was on Argument instead.  :)


http://reviews.llvm.org/D9129

Files:
  lib/Analysis/IPA/InlineCost.cpp
  test/Transforms/Inline/nonnull.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9129.24082.patch
Type: text/x-patch
Size: 4421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150421/73182c6e/attachment.bin>


More information about the llvm-commits mailing list