diff options
author | Florian Hahn <flo@fhahn.com> | 2020-05-27 12:41:32 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-05-27 12:47:36 +0100 |
commit | 9b507b2127f116f29437e04a187cdca70ae9aa33 (patch) | |
tree | d46dfc990332b75f76585db56dcd65188dc57ecd /llvm/unittests/Support/FileCheckTest.cpp | |
parent | 2d0389821e0c6371823198d3a5b1f032138a40bb (diff) | |
download | llvm-9b507b2127f116f29437e04a187cdca70ae9aa33.zip llvm-9b507b2127f116f29437e04a187cdca70ae9aa33.tar.gz llvm-9b507b2127f116f29437e04a187cdca70ae9aa33.tar.bz2 |
[LAA] We only need pointer checks if there are non-zero checks (NFC).
If it turns out that we can do runtime checks, but there are no
runtime-checks to generate, set RtCheck.Need to false.
This can happen if we can prove statically that the pointers passed in
to canCheckPtrAtRT do not alias. This should not change any results, but
allows us to skip some work and assert that runtime checks are
generated, if LAA indicates that runtime checks are required.
Reviewers: anemet, Ayal
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D79969
Note: This is a recommit of 259abfc7cbc11cd98c05b1eb8e4b3fb6a9664bc0,
with some suggested renaming.
Diffstat (limited to 'llvm/unittests/Support/FileCheckTest.cpp')
0 files changed, 0 insertions, 0 deletions