[PATCH] D119039: [RISCV] Lower the shufflevector equivalent of vector.splice
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 9 12:01:52 PST 2022
craig.topper updated this revision to Diff 407236.
craig.topper added a comment.
Switch back to X86's implementation of returning -1.
Returning 0 could be misinterpreted as an identify rotation. So use to be more clear.
The previously identified bug where I returned -1 was hidden because the result
was casted to int in the caller so it failed the > 0 check in the caller.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119039/new/
https://reviews.llvm.org/D119039
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-shuffles.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-shuffles.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119039.407236.patch
Type: text/x-patch
Size: 9137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220209/dd4786e9/attachment.bin>
More information about the llvm-commits
mailing list