[llvm] [CostModel][X86] clmul.ll - add test coverage for vpclmulqdq targets (PR #222610)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 04:12:36 PDT 2026


================
@@ -1,6 +1,7 @@
 ; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py
-; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mtriple=x86_64-unknown-linux-gnu -mattr=+pclmul | FileCheck %s --check-prefix=PCLMUL
-; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mtriple=x86_64-unknown-linux-gnu -mattr=-pclmul | FileCheck %s --check-prefix=NO-PCLMUL
+; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mtriple=x86_64-unknown-linux-gnu -mattr=+pclmul | FileCheck %s --check-prefixes=PCLMUL,PCLMUL128
+; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mtriple=x86_64-unknown-linux-gnu -mattr=+vpclmulqdq | FileCheck %s --check-prefixes=PCLMUL,VPCLMULQDQ
----------------
Andarwinux wrote:

I think it should be vpclmulqdq (for ymm) and vpclmulqdq+avx512f (for zmm)?

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


More information about the llvm-commits mailing list