diff options
author | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2025-01-27 09:26:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-27 09:26:22 -0800 |
commit | 44c9e46fce12badae8cd3f5bd53fe1c2b1248940 (patch) | |
tree | ffd5327ab33e9b7cf3bdb3fdddda93b7ba09e1af /libcxx/src/algorithm.cpp | |
parent | e7de6036983641ccf0fb45afd3eb96ff962525aa (diff) | |
download | llvm-44c9e46fce12badae8cd3f5bd53fe1c2b1248940.zip llvm-44c9e46fce12badae8cd3f5bd53fe1c2b1248940.tar.gz llvm-44c9e46fce12badae8cd3f5bd53fe1c2b1248940.tar.bz2 |
[InstrRef] Fix mismatch between LiveDebugValues and salvageCopySSA (#124233)
The LiveDebugValues pass and the instruction selector (which calls
salvageCopySSA) need to be consistent on what they consider a copy
instruction. With https://github.com/llvm/llvm-project/pull/75184, the
definition of what a copy instruction is was narrowed for AArch64 to
exclude a w->x ORR and treat it as a zero-extend rather than a copy
However, to make sure LiveDebugValues still treats a w->x ORR as a copy,
the new function, isCopyLikeInstr was created. We need to make sure that
salvageCopySSA also calls that function.
This patch addresses this mismatch.
Diffstat (limited to 'libcxx/src/algorithm.cpp')
0 files changed, 0 insertions, 0 deletions