[llvm] [RISCV][TTI] Add instruction cost for vp.select. (PR #109381)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 20 07:18:58 PDT 2024


================
@@ -1,5 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py
-; RUN: opt -passes="print<cost-model>" 2>&1 -disable-output -mtriple=riscv64 -mattr=+v,+f,+d,+zfh,+zvfh -riscv-v-vector-bits-min=128 -riscv-v-fixed-length-vector-lmul-max=1 < %s | FileCheck %s
+; RUN: opt -passes="print<cost-model>" 2>&1 -disable-output -mtriple=riscv64 -mattr=+v,+f,+d,+zfh,+zvfh -riscv-v-vector-bits-min=128 -riscv-v-fixed-length-vector-lmul-max=1 < %s | FileCheck --check-prefixes=CHECK %s
+; RUN: opt -passes="print<cost-model>" 2>&1 -disable-output -mtriple=riscv64 -mattr=+v,+f,+d,+zfh,+zvfh -riscv-v-vector-bits-min=128 -riscv-v-fixed-length-vector-lmul-max=1 --type-based-intrinsic-cost=true < %s | FileCheck --check-prefixes=CHECK %s
----------------
lukel97 wrote:

Nit I think we can remove the -check-prefix if the check lines are all the same

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


More information about the llvm-commits mailing list