[PATCH] [InstCombine] Propagate non-null facts to call parameters

Philip Reames listmail at philipreames.com
Mon Apr 20 15:49:52 PDT 2015


Hi chandlerc, nlewycky,

If a parameter to a function is known non-null, use the existing parameter attributes to record that fact at the call site.  This has no optimization benefit by itself - that I know of - but is an enabling change for http://reviews.llvm.org/D9129.

http://reviews.llvm.org/D9132

Files:
  include/llvm/IR/CallSite.h
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/CodeGen/NVPTX/intrin-nocapture.ll
  test/Transforms/Inline/byval-tail-call.ll
  test/Transforms/InstCombine/nonnull-param.ll
  test/Transforms/InstCombine/select.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9132.24070.patch
Type: text/x-patch
Size: 4872 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150420/c4788d79/attachment.bin>


More information about the llvm-commits mailing list