diff options
author | David Green <david.green@arm.com> | 2025-04-26 11:09:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-26 11:09:13 +0100 |
commit | 76545d7ddf5a6a928398c1fbff496d868cb35ce1 (patch) | |
tree | 83cb314ceee37ca25ece395d8951ae253eff3e96 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 5d91d12d9172a66698c2ecc71778abd5a97df359 (diff) | |
download | llvm-76545d7ddf5a6a928398c1fbff496d868cb35ce1.zip llvm-76545d7ddf5a6a928398c1fbff496d868cb35ce1.tar.gz llvm-76545d7ddf5a6a928398c1fbff496d868cb35ce1.tar.bz2 |
[AArch64] Correctly detect X reg from W reg in isCopyImpl (#137348)
The MachineCopyPropagation pass was incorrectly removing copy (ORRWrs)
instruction that appeared to be a nop. The instruction should not have
been marked as a copy though, the code was incorrectly assuming that
w29 - w0 + x0 == x29, but as x29 is fp it was out of order with the other
registers.
Fixes an issue reported on #129889.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions