aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2025-02-05 07:13:33 -0500
committerGitHub <noreply@github.com>2025-02-05 07:13:33 -0500
commit23b6a05ec9c2220844748487612761d1e09166b7 (patch)
tree6a06c4d1bab6bb2e0038e146f9c2fbf1db3d193d /llvm/lib/CodeGen/CodeGen.cpp
parente3abe940d8fc356bf46a6b71da44df0f4652df1c (diff)
downloadllvm-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