[llvm] [RISCV] Model interleave2 and deinterleave2 costs with Zvzip (PR #225752)
Pengcheng Wang via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 23:13:57 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
----------------
wangpc-pp wrote:
So what are these two RUNs testing? We can add more prefixes to remove duplicated CHECKs.
https://github.com/llvm/llvm-project/pull/225752
More information about the llvm-commits
mailing list