[all-commits] [llvm/llvm-project] 21bf59: [RISCV] Add cost model for mask vector extend and ...

Jianjian Guan via All-commits all-commits at lists.llvm.org
Wed Aug 10 19:56:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21bf59c92af11f2f1e4482e530993c1fb51b9d88
      https://github.com/llvm/llvm-project/commit/21bf59c92af11f2f1e4482e530993c1fb51b9d88
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

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

  Log Message:
  -----------
  [RISCV] Add cost model for mask vector extend and truncate instruction.

As extending from or truncating to mask vector do not use the same instructions as the normal cast, this path changed it to 2 which is the number of instructions we used.

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




More information about the All-commits mailing list