[llvm] [CostModel][X86] Improve vXi1 mask broadcast cost handling (PR #222467)

Dmitry Sidorov via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 04:52:43 PDT 2026


================
@@ -0,0 +1,95 @@
+; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --version 6
+; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mattr=+avx512f,+avx512bw,+avx512dq,+avx512vl,+fast-variable-crosslane-shuffle | FileCheck %s --check-prefixes=CHECK,X64
+; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mattr=+avx512f,+avx512bw,+avx512vl,+fast-variable-crosslane-shuffle | FileCheck %s --check-prefixes=CHECK,X64-NODQ
+; RUN: opt < %s -mtriple=i386-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mattr=+avx512f,+avx512bw,+avx512dq,+avx512vl,+fast-variable-crosslane-shuffle | FileCheck %s --check-prefixes=CHECK,X86
----------------
MrSidims wrote:

Created https://github.com/llvm/llvm-project/pull/225070 . So diff is yet not visible for some cases as the script collapses checks when they are similar (and they are currently).

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


More information about the llvm-commits mailing list