aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/FileCheckTest.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-05-27 12:41:32 +0100
committerFlorian Hahn <flo@fhahn.com>2020-05-27 12:47:36 +0100
commit9b507b2127f116f29437e04a187cdca70ae9aa33 (patch)
treed46dfc990332b75f76585db56dcd65188dc57ecd /llvm/unittests/Support/FileCheckTest.cpp
parent2d0389821e0c6371823198d3a5b1f032138a40bb (diff)
downloadllvm-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