aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2025-06-04 16:47:20 +0100
committerGitHub <noreply@github.com>2025-06-04 16:47:20 +0100
commit81d3189891c2dcb5925308629571fb95badaae33 (patch)
tree065a9b9b27a1c5462dacc4b5734ee5da1fa868ca /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent8f352f4d7b5b290344a874f1088a5e1737b89ceb (diff)
downloadllvm-81d3189891c2dcb5925308629571fb95badaae33.zip
llvm-81d3189891c2dcb5925308629571fb95badaae33.tar.gz
llvm-81d3189891c2dcb5925308629571fb95badaae33.tar.bz2
[LAA] Keep pointer checks on partial analysis (#139719)
Currently if there's any memory access that AccessAnalysis couldn't analyze then all of the runtime pointer check results are discarded. This patch makes this able to be controlled with the AllowPartial option, which makes it so we generate the runtime check information for those pointers that we could analyze, as transformations may still be able to make use of the partial information. Of the transformations that use LoopAccessAnalysis, only LoopVersioningLICM changes behaviour as a result of this change. This is because the others either: * Check canVectorizeMemory, which will return false when we have partial pointer information as analyzeLoop() will return false. * Examine the dependencies returned by getDepChecker(), which will be empty as we exit analyzeLoop if we have partial pointer information before calling areDepsSafe(), which is what fills in the dependency information.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions