diff options
author | David Green <david.green@arm.com> | 2024-07-11 20:19:39 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2024-07-19 16:51:28 +0100 |
commit | 600d4937521210eb8c5fd3e1107e50ec5cb246f2 (patch) | |
tree | e8093ad6da39c145a3f69d6141670e424c9831c8 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 2f8c786846972f85a1967502050675c724a2904d (diff) | |
download | llvm-600d4937521210eb8c5fd3e1107e50ec5cb246f2.zip llvm-600d4937521210eb8c5fd3e1107e50ec5cb246f2.tar.gz llvm-600d4937521210eb8c5fd3e1107e50ec5cb246f2.tar.bz2 |
[AArch64] Remove superfluous sxtw in peephole opt (#96293)
Across a basic-block we might have an i32 extract from a value that only
operates on upper bits (for example a sxtw). We can replace the COPY
with a new version skipping the sxtw.
This is a re-commit of 7f2a5dfe35f8bbaca2819644c7aa844f938befd6, with a fix for
removing all the intermediate COPY nodes (and some extra debug logging).
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions