aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2025-10-15 13:46:09 +0100
committerGitHub <noreply@github.com>2025-10-15 13:46:09 +0100
commit7f54fccc0e556a9ca6e6df42911f05f23eb9889d (patch)
tree2bcdc5d5847bfc159c5dc3cec42c9849fb6c8b91 /llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
parent55bd6fb8dbb0b167a98bbea751d74493353e60b3 (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[VPlan] Add ExtractLastLanePerPart, use in narrowToSingleScalar. (#163056)HEADmain
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