[llvm] [RISCV] Model interleave2 and deinterleave2 costs with Zvzip (PR #225752)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 04:53:13 PDT 2026


================
@@ -1,6 +1,8 @@
 ; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --version 2
 ; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=riscv32 -mattr=+v | FileCheck --check-prefixes=CHECK,RV32 %s
 ; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=riscv64 -mattr=+v | FileCheck --check-prefixes=CHECK,RV64 %s
+; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=riscv32 -mattr=+v,+zvfh,+experimental-zvzip  | FileCheck --check-prefixes=CHECK,ZVZIP %s
+; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=riscv64 -mattr=+zve32f,+zvfh,+zvl128b,+experimental-zvzip | FileCheck --check-prefixes=CHECK,ZVE32 %s
----------------
renndong wrote:

These two RUNs tests the costs for different ELEN. I have added more check prefixes to merge duplicate checks in a new commit.

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


More information about the llvm-commits mailing list