[PATCH] D28204: [ValueTracking] use nonnull argument attribute to eliminate null checks

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 09:30:26 PST 2017


spatel updated this revision to Diff 83065.
spatel marked an inline comment as done.
spatel added a comment.

Patch updated:

1. Changed to use CallSite so we include invokes in the analysis.
2. Added test case with an invoke to show a transform.


https://reviews.llvm.org/D28204

Files:
  include/llvm/Analysis/ValueTracking.h
  lib/Analysis/ValueTracking.cpp
  test/Analysis/ValueTracking/known-nonnull-at.ll
  test/Transforms/InstCombine/call_nonnull_arg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28204.83065.patch
Type: text/x-patch
Size: 6519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170104/1ffe57df/attachment.bin>


More information about the llvm-commits mailing list