[Mlir-commits] [mlir] [mlir][x86vector] Restrict BF16 dot test to x86 (PR #124916)

Adam Siemieniuk llvmlistbot at llvm.org
Wed Jan 29 04:31:18 PST 2025


https://github.com/adam-smnk created https://github.com/llvm/llvm-project/pull/124916

Requires x86 target for the lit test to ensure required instructions are available.

>From dc17a009419563e328bfd2b203437db459d55c44 Mon Sep 17 00:00:00 2001
From: Adam Siemieniuk <adam.siemieniuk at intel.com>
Date: Wed, 29 Jan 2025 13:29:04 +0100
Subject: [PATCH] [mlir][x86vector] Restrict BF16 dot test to x86

Requires x86 target for the lit test to ensure required instruction
are available.
---
 mlir/test/Dialect/X86Vector/dot-bf16.mlir | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mlir/test/Dialect/X86Vector/dot-bf16.mlir b/mlir/test/Dialect/X86Vector/dot-bf16.mlir
index 8c7bf6490800e3..b7ac46a66cebff 100644
--- a/mlir/test/Dialect/X86Vector/dot-bf16.mlir
+++ b/mlir/test/Dialect/X86Vector/dot-bf16.mlir
@@ -1,3 +1,5 @@
+// REQUIRES: target=x86{{.*}}
+
 // RUN: mlir-opt %s \
 // RUN:   -convert-vector-to-llvm="enable-x86vector" -convert-to-llvm \
 // RUN:   -reconcile-unrealized-casts | \



More information about the Mlir-commits mailing list