diff options
author | Chen Li <meloli87@gmail.com> | 2015-09-10 22:35:41 +0000 |
---|---|---|
committer | Chen Li <meloli87@gmail.com> | 2015-09-10 22:35:41 +0000 |
commit | 32a51416e584873fa3af5e73b69d573e8d22af57 (patch) | |
tree | 40b1a305226473de7b653e0b79b2070bbfee285d /llvm/unittests/Support/BranchProbabilityTest.cpp | |
parent | 48b090a31f72b28d346769eaba024e52fa38f0ff (diff) | |
download | bcm5719-llvm-32a51416e584873fa3af5e73b69d573e8d22af57.tar.gz bcm5719-llvm-32a51416e584873fa3af5e73b69d573e8d22af57.zip |
[InstCombineCalls] Use isKnownNonNullAt() to check nullness of gc.relocate return value
Summary: This patch replaces isKnownNonNull() with isKnownNonNullAt() when checking nullness of gc.relocate return value. In this way it can handle cases where the relocated value does not have nonnull attribute but has a dominating null check from the CFG.
Reviewers: reames
Subscribers: llvm-commits, sanjoy
Differential Revision: http://reviews.llvm.org/D12772
llvm-svn: 247353
Diffstat (limited to 'llvm/unittests/Support/BranchProbabilityTest.cpp')
0 files changed, 0 insertions, 0 deletions