diff options
| author | Björn Pettersson <bjorn.a.pettersson@ericsson.com> | 2024-04-23 13:49:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-23 13:49:18 +0200 |
| commit | d8b253be56b3e9073b3e59123cf2da0bcde20c63 (patch) | |
| tree | c05329d4fa33e0a94e68fab3f1f3128bf4b74580 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
| parent | 56ed3dd77f4ef07a9b35cbb3d0ca868cc0999d01 (diff) | |
| download | llvm-d8b253be56b3e9073b3e59123cf2da0bcde20c63.zip llvm-d8b253be56b3e9073b3e59123cf2da0bcde20c63.tar.gz llvm-d8b253be56b3e9073b3e59123cf2da0bcde20c63.tar.bz2 | |
[SelectionDAG] Mark frame index as "aliased" at argument copy elison (#89712)
This is a fix for miscompiles reported in
https://github.com/llvm/llvm-project/issues/89060
After argument copy elison the IR value for the eliminated alloca
is aliasing with the fixed stack object. This patch is making sure
that we mark the fixed stack object as being aliased with IR values
to avoid that for example schedulers are reordering accesses to
the fixed stack object. This could otherwise happen when there is a
mix of MemOperands refering the shared fixed stack slow via both
the IR value for the elided alloca, and via a fixed stack pseudo
source value (as would be the case when lowering the arguments).
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions
