[PATCH] D145678: [RISCV] Model interleave and deinterleave shuffles in cost model
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 9 10:01:37 PST 2023
luke 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:
> 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.
Sorry for the delay, was wrestling with `arc`
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