aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2024-03-12 09:47:42 +0000
committerGitHub <noreply@github.com>2024-03-12 09:47:42 +0000
commitbba4a1daff6ee09941f1369a4e56b4af95efdc5c (patch)
tree228831c619c90f67b0346a7309939638680ee335 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parenta3b52509d522442915a51d8aabcec1df49e95b23 (diff)
downloadllvm-bba4a1daff6ee09941f1369a4e56b4af95efdc5c.zip
llvm-bba4a1daff6ee09941f1369a4e56b4af95efdc5c.tar.gz
llvm-bba4a1daff6ee09941f1369a4e56b4af95efdc5c.tar.bz2
[ArgPromotion] Remove incorrect TranspBlocks set for loads. (#84835)
The TranspBlocks set was used to cache aliasing decision for all processed loads in the parent loop. This is incorrect, because each load can access a different location, which means one load not being modified in a block doesn't translate to another load not being modified in the same block. All loads access the same underlying object, so we could perhaps use a location without size for all loads and retain the cache, but that would mean we loose precision. For now, just drop the cache. Fixes https://github.com/llvm/llvm-project/issues/84807 PR: https://github.com/llvm/llvm-project/pull/84835
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions