aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-06-17 09:49:18 +0200
committerGitHub <noreply@github.com>2025-06-17 09:49:18 +0200
commitbb70023cbfecf7880e4cc89966947ef475e070e9 (patch)
tree54f85d2fc7f34b771c6ff4bc106e003f4ed40e9a /llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
parent80b79ce432bbe12701fd9fe495ff9feeb5e4b9ca (diff)
downloadllvm-bb70023cbfecf7880e4cc89966947ef475e070e9.zip
llvm-bb70023cbfecf7880e4cc89966947ef475e070e9.tar.gz
llvm-bb70023cbfecf7880e4cc89966947ef475e070e9.tar.bz2
[MemoryLocation][DSE] Allow other read effects in MemoryLocation::getForDest() (#144343)
MemoryLocation::getForDest() returns a (potentially) written location, while still allowing other reads. Currently, this is limited to argmemonly functions. However, we can ignore other (non-argmem) read effects here for the same reason we can ignore argument reads. Fixes https://github.com/llvm/llvm-project/issues/144300. Proof: https://alive2.llvm.org/ce/z/LKq_dc
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp')
0 files changed, 0 insertions, 0 deletions