[llvm] [RISCV][TTI] Add cost of typebased cast VPIntrinsics with functionalOPC. (PR #97797)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 01:16:22 PDT 2024


================
@@ -1,6 +1,8 @@
 ; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py
 ; RUN: opt < %s -mtriple=riscv32 -mattr=+v,+zfh,+zvfh -passes="print<cost-model>" -cost-kind=throughput 2>&1 -disable-output | FileCheck %s --check-prefixes=CHECK,RV32
+; RUN: opt < %s -mtriple=riscv32 -mattr=+v,+zfh,+zvfh -passes="print<cost-model>" -cost-kind=throughput --type-based-intrinsic-cost=true 2>&1 -disable-output | FileCheck %s --check-prefixes=CHECK,RV32
----------------
lukel97 wrote:

If the VP intrinsics are the only intrinsics in this test then can we just move `--type-based-intrinsic-cost=true` to the existing run lines?

https://github.com/llvm/llvm-project/pull/97797


More information about the llvm-commits mailing list