[llvm] [X86][CostModel] Add vXi64 divide/remainder-by-constant costs (PR #208491)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 09:13:01 PDT 2026


================
@@ -10,6 +10,7 @@
 ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mcpu=slm | FileCheck %s --check-prefixes=CHECK,SSE,SLM
 ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mcpu=goldmont | FileCheck %s --check-prefixes=CHECK,SSE,SSE42
 ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mcpu=btver2 | FileCheck %s --check-prefixes=CHECK,AVX1
+; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mattr=+avx512f,+avx512dq | FileCheck %s --check-prefixes=CHECK,AVX512DQ
----------------
RKSimon wrote:

move this up below the AVX512BW - the bottom tests are custom cpu tests

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


More information about the llvm-commits mailing list