[PATCH] D128784: [RISCV] Add cost model for vector.reverse mask operation
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 6 15:19:26 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp:203
+ // Mask operation additionally required extend and truncate
+ return LT.first * 8;
return LT.first * 6;
----------------
Isn't extend 2 instructions, vmv+vmerge?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128784/new/
https://reviews.llvm.org/D128784
More information about the llvm-commits
mailing list