diff options
author | Florian Hahn <flo@fhahn.com> | 2025-10-15 13:46:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-15 13:46:09 +0100 |
commit | 7f54fccc0e556a9ca6e6df42911f05f23eb9889d (patch) | |
tree | 2bcdc5d5847bfc159c5dc3cec42c9849fb6c8b91 /llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp | |
parent | 55bd6fb8dbb0b167a98bbea751d74493353e60b3 (diff) | |
download | llvm-main.zip llvm-main.tar.gz llvm-main.tar.bz2 |
When narrowing stores of a single-scalar, we currently use
ExtractLastElement, which extracts the last element across all parts.
This is not correct if the store's address is not uniform across all
parts. If it is only uniform-per-part, the last lane per part must be
extracted. Add a new ExtractLastLanePerPart opcode to handle this
correctly. Most transforms apply to both ExtractLastElement and
ExtractLastLanePerPart, with the only difference being their treatment
during unrolling.
Fixes https://github.com/llvm/llvm-project/issues/162498.
PR: https://github.com/llvm/llvm-project/pull/163056
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp')
0 files changed, 0 insertions, 0 deletions