================
@@ -2,15 +2,15 @@
 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mattr=+sse2 | FileCheck %s 
-check-prefixes=SSE,SSE2
 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mattr=+ssse3 | FileCheck %s 
-check-prefixes=SSE,SSSE3
 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mattr=+sse4.2 | FileCheck %s 
-check-prefixes=SSE,SSE42
-; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mattr=+avx | FileCheck %s 
-check-prefixes=AVX
-; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mattr=+avx2 | FileCheck %s 
-check-prefixes=AVX
-; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mattr=+avx512f | FileCheck %s 
--check-prefixes=AVX512
-; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mattr=+avx512f,+avx512bw | FileCheck 
%s --check-prefixes=AVX512
-; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mattr=+avx512f,+avx512bw,+avx512vbmi | 
FileCheck %s --check-prefixes=AVX512
+; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mattr=+avx | FileCheck %s 
-check-prefixes=AVX,AVX1
+; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mattr=+avx2 | FileCheck %s 
-check-prefixes=AVX,AVX2
+; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mattr=+avx512f | FileCheck %s 
--check-prefixes=AVX512,AVX512F
+; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mattr=+avx512f,+avx512bw | FileCheck 
%s --check-prefixes=AVX512,AVX512BW
+; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mattr=+avx512f,+avx512bw,+avx512vbmi | 
FileCheck %s --check-prefixes=AVX512,AVX512VBMI
 ;
 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mcpu=slm | FileCheck %s 
--check-prefixes=SSE,SLM
 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mcpu=goldmont | FileCheck %s 
--check-prefixes=SSE,GLM
-; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mcpu=btver2 | FileCheck %s 
--check-prefixes=AVX
+; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 
2>&1 -disable-output -cost-kind=latency -mcpu=btver2 | FileCheck %s 
--check-prefixes=AVX,BTVER2
----------------
RKSimon wrote:

Use AVX1 instead of BTVER2?

https://github.com/llvm/llvm-project/pull/79837
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to