aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJameson Nash <vtjnash@gmail.com>2025-07-26 14:03:18 -0400
committerGitHub <noreply@github.com>2025-07-26 14:03:18 -0400
commit4d859dbae1a29a5fcc14f2e7e324324796ed263b (patch)
tree1f7fd28690979ef8230f1524906b438ba04748c3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent492b52145051c2bb08af5fa548ebe97e46c07e2a (diff)
downloadllvm-4d859dbae1a29a5fcc14f2e7e324324796ed263b.zip
llvm-4d859dbae1a29a5fcc14f2e7e324324796ed263b.tar.gz
llvm-4d859dbae1a29a5fcc14f2e7e324324796ed263b.tar.bz2
[MemCpyOpt] fix incorrect handling of lifetime markers (#143782)
Having lifetime markers should only increase the information available to LLVM, but it would instead rely on the callback to entirely give up if it encountered a lifetime marker that wasn't full size, but sub-optimal lifetime markers are not supposed to be forbidding optimizations that would otherwise apply if they were either absent or optimal. This pass wasn't tracking GEP offsets either, so it wasn't quite correctly handled either, although earlier sub-optimal checks that this size is the same as the alloca test made this safe in the past, and unlikely to have encountered anything else in the past.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions