diff options
author | Nikita Popov <npopov@redhat.com> | 2025-04-17 10:42:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-17 10:42:07 +0200 |
commit | 5c97397c2c414d7ac8e43e87c6d2a79a87e802fb (patch) | |
tree | ca500a5c70b5262751099d25cc89a7d83d5c73bf /llvm/lib/IR/Function.cpp | |
parent | 1588aab6ed2d02db2ffb23ca7f339d38a4d8c5e9 (diff) | |
download | llvm-5c97397c2c414d7ac8e43e87c6d2a79a87e802fb.zip llvm-5c97397c2c414d7ac8e43e87c6d2a79a87e802fb.tar.gz llvm-5c97397c2c414d7ac8e43e87c6d2a79a87e802fb.tar.bz2 |
[SROA] Support load-only promotion with dynamic offset loads (#135609)
If we do load-only promotion, it is okay if we leave some loads alone.
We only need to know all stores that affect a specific location.
As such, we can handle loads with unknown offset via the "escaped
read-only" code path.
This is something we already support in LICM load-only promotion, but
doing this in SROA is much better from a phase ordering perspective.
Fixes https://github.com/llvm/llvm-project/issues/134513.
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions