[RISCV][TTI] Cost SK_Tranpose as a generic two element shuffle
authorPhilip Reames <preames@rivosinc.com>
Mon, 3 Apr 2023 23:27:38 +0000 (16:27 -0700)
committerPhilip Reames <listmail@philipreames.com>
Tue, 4 Apr 2023 19:52:50 +0000 (12:52 -0700)
commit8865ed4dbb4e050ba3e7f45996d5c6a9d1e85280
tree895ec419d1cd00890d0187388f634ea10a6b0034
parent1a7cf7a182d61ae81b00aaf5f30f3b471fae3668
[RISCV][TTI] Cost SK_Tranpose as a generic two element shuffle

This matches the actual lowering.  The previous costing was "as if" it had been fully scalarized.
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
llvm/test/Analysis/CostModel/RISCV/shuffle-transpose.ll