[PATCH] D145953: [RISCV] Fallback to scalable lowering costs for fixed length vectors

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 09:30:52 PDT 2023


reames added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp:253
 
-  if (isa<ScalableVectorType>(Tp)) {
-    switch (Kind) {
----------------
Most of the diff is code motion.  The only semantic change is removing this if clause and applying this to all vectors after giving the fixed vector code a chance to run.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145953/new/

https://reviews.llvm.org/D145953



More information about the llvm-commits mailing list