aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorBjörn Pettersson <bjorn.a.pettersson@ericsson.com>2024-04-23 13:49:18 +0200
committerGitHub <noreply@github.com>2024-04-23 13:49:18 +0200
commitd8b253be56b3e9073b3e59123cf2da0bcde20c63 (patch)
treec05329d4fa33e0a94e68fab3f1f3128bf4b74580 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent56ed3dd77f4ef07a9b35cbb3d0ca868cc0999d01 (diff)
downloadllvm-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