[all-commits] [llvm/llvm-project] b98b4f: [RISCV] Add cost model for compare and select inst...

Jianjian Guan via All-commits all-commits at lists.llvm.org
Mon Sep 12 23:45:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b98b4fae754d896df74046890c3d74f55c61c92f
      https://github.com/llvm/llvm-project/commit/b98b4fae754d896df74046890c3d74f55c61c92f
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

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

  Log Message:
  -----------
  [RISCV] Add cost model for compare and select instructions.

This patch adds cost model for vector compare and select instructions. For vector FP compare instruction, it only add the comparisions supported natively.

Reviewed By: reames

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




More information about the All-commits mailing list