diff options
author | Chen Li <meloli87@gmail.com> | 2015-09-10 23:04:49 +0000 |
---|---|---|
committer | Chen Li <meloli87@gmail.com> | 2015-09-10 23:04:49 +0000 |
commit | a29c612ddd84e91718fbb8915a25a50f9c4a3f88 (patch) | |
tree | 4e142856dd0eb2782a8ab9953003acd93ef4a8a4 /llvm/unittests/Support/BranchProbabilityTest.cpp | |
parent | dd34a4d3c58bbea8f64e8b8b80801d830608b33f (diff) | |
download | bcm5719-llvm-a29c612ddd84e91718fbb8915a25a50f9c4a3f88.tar.gz bcm5719-llvm-a29c612ddd84e91718fbb8915a25a50f9c4a3f88.zip |
[InstCombineCalls] Use isKnownNonNullAt() to check nullness of passing arguments at callsite
Summary: This patch replaces isKnownNonNull() with isKnownNonNullAt() when checking nullness of passing arguments at callsite. In this way it can handle cases where the argument does not have nonnull attribute but has a dominating null check from the CFG.
Reviewers: reames
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D12779
llvm-svn: 247356
Diffstat (limited to 'llvm/unittests/Support/BranchProbabilityTest.cpp')
0 files changed, 0 insertions, 0 deletions