diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2025-02-05 07:13:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-05 07:13:33 -0500 |
commit | 23b6a05ec9c2220844748487612761d1e09166b7 (patch) | |
tree | 6a06c4d1bab6bb2e0038e146f9c2fbf1db3d193d /llvm/lib/CodeGen/CodeGen.cpp | |
parent | e3abe940d8fc356bf46a6b71da44df0f4652df1c (diff) | |
download | llvm-23b6a05ec9c2220844748487612761d1e09166b7.zip llvm-23b6a05ec9c2220844748487612761d1e09166b7.tar.gz llvm-23b6a05ec9c2220844748487612761d1e09166b7.tar.bz2 |
[CG][RISCV]Fix shuffling of odd number of input vectors
If the input contains odd number of shuffled vectors, the 2 last
shuffles are shuffled with the same first vector. Need to correctly
process such situation: when the first vector is requested for the first
time - extract it from the source vector, when it is requested the
second time - reuse previous result. The second vector should be
extracted in both cases.
Fixes #125269
Reviewers: topperc, preames
Reviewed By: preames
Pull Request: https://github.com/llvm/llvm-project/pull/125693
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions