From 2513e90fd317bbe5854a06213e43cdf7029c3ee2 Mon Sep 17 00:00:00 2001
From: liyunfei <liyunfei33@huawei.com>
Date: Tue, 5 Nov 2024 18:18:19 +0800
Subject: [PATCH] Add arch restriction for BiSheng Autotuner

BiSheng Autotuner only support x86_64 and aarch64 temporarily.

Signed-off-by: liyunfei <liyunfei33@huawei.com>
---
 llvm/test/AutoTuning/lit.local.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/llvm/test/AutoTuning/lit.local.cfg b/llvm/test/AutoTuning/lit.local.cfg
index 13b4927257ab..c48c2c9eab6f 100644
--- a/llvm/test/AutoTuning/lit.local.cfg
+++ b/llvm/test/AutoTuning/lit.local.cfg
@@ -1,2 +1,4 @@
 if not config.enable_enable_autotuner:
     config.unsupported = True
+if config.host_arch not in ["x86", "X86", 'x86_64', 'aarch64']:
+    config.unsupported = True
\ No newline at end of file
-- 
Gitee
