[all-commits] [llvm/llvm-project] a37dfb: [RISCV] Fallback to scalable lowering costs for fi...

Philip Reames via All-commits all-commits at lists.llvm.org
Mon Mar 13 10:08:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a37dfbb79cbfcb619a46df68683c6e6b3848e5ce
      https://github.com/llvm/llvm-project/commit/a37dfbb79cbfcb619a46df68683c6e6b3848e5ce
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/RISCV/shuffle-reverse.ll

  Log Message:
  -----------
  [RISCV] Fallback to scalable lowering costs for fixed length vectors

Fixed vector costs may be more precise, but the actual lowering will use scalable vectors if nothing better is available.  During review, we noticed a case where fixed vector reverse can be improved cost model wise, that will follow seperately.

Differential Revision: https://reviews.llvm.org/D145953




More information about the All-commits mailing list