[PATCH] D145678: [RISCV] Model interleave and deinterleave shuffles in cost model
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 9 09:38:03 PST 2023
reames added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp:337
+ auto InterleaveMask = createInterleaveMask(Mask.size() / 2, 2);
+ auto DeinterleaveMask = createStrideMask(Mask[0], 2, Mask.size());
+ // Example sequence:
----------------
reames wrote:
> You need to check that Mask[0] is either 0 or 1 here. (Or generalize the lowering.)
This remains open. This is the only blocking item.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145678/new/
https://reviews.llvm.org/D145678
More information about the llvm-commits
mailing list