aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-07-23 10:09:58 +0200
committerGitHub <noreply@github.com>2025-07-23 10:09:58 +0200
commitb17f4d3366cd3a6a276b825342c270a839b849db (patch)
tree964ac1d851c7fc5779a016c6f489fc5ad2bc08d9 /clang/lib/CodeGen/CodeGenModule.cpp
parent7e878aaf23dd559fa491a0bf6168f15f939c5965 (diff)
downloadllvm-b17f4d3366cd3a6a276b825342c270a839b849db.zip
llvm-b17f4d3366cd3a6a276b825342c270a839b849db.tar.gz
llvm-b17f4d3366cd3a6a276b825342c270a839b849db.tar.bz2
[AggressiveInstCombine] Use AA during store merge (#149992)
This is a small extension of #147540, resolving one of the FIXMEs. Instead of bailing out on any instruction that may read/write memory, use AA to check whether it can alias the stored parts. Do this using a crude check based on the underlying object only. This pattern occurs rarely in practice, but at the same time it also doesn't seem to add any compile-time cost, so it's probably worth handling.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions