[llvm] [X86] Fix optmasks handling for AVX10.1-256 (PR #73074)

Evgenii Kudriashov via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 23 20:48:46 PST 2023


================
@@ -5,6 +5,7 @@
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1OR2,AVX2
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx512f | FileCheck %s --check-prefixes=AVX,AVX512,KNL
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX512,SKX
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx10.1-256 | FileCheck %s --check-prefixes=AVX,AVX10-256
----------------
e-kud wrote:

The problem here was that if we add `AVX512` to `AVX10-256` then we need to have `KNL` and `SKX` in a separate group otherwise they will duplicate each other. Introduced `EVEX512` for them.

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


More information about the llvm-commits mailing list