aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2024-04-30 20:20:40 +0800
committerGitHub <noreply@github.com>2024-04-30 20:20:40 +0800
commit5e03c0af4745b97f93c06b43e0f2a02abc881292 (patch)
tree227bdd9b5038ef6942d8d92b2daade81e6d1c51b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent82219e547bf42102a913fc6d5e3e81c3c888e5d6 (diff)
downloadllvm-5e03c0af4745b97f93c06b43e0f2a02abc881292.zip
llvm-5e03c0af4745b97f93c06b43e0f2a02abc881292.tar.gz
llvm-5e03c0af4745b97f93c06b43e0f2a02abc881292.tar.bz2
[DAGCombiner] Fix mayAlias not accounting for scalable MMOs with offsets (#90573)
In #70452 DAGCombiner::mayAlias was taught to handle scalable sizes, but when it checks via AA->isNoAlias it didn't take into account the case where the size is scalable but there was an offset too. For the fixed length case the offset was just accounted for by adding to the LocationSize, but for the scalable case there doesn't seem to be a way to represent both a scalable and fixed part in it. So this patch works around it by bailing if there is an offset. Fixes #90559
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions