From 201fe4c628d17ebba947d6054f40a66790913bd9 Mon Sep 17 00:00:00 2001 From: liyunfei Date: Tue, 19 Nov 2024 10:14:16 +0800 Subject: [PATCH] Fix wrong type for testcase restriction Using host_arch instead of target_arch as target_arch is not defined. --- llvm/test/AutoTuning/lit.local.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/AutoTuning/lit.local.cfg b/llvm/test/AutoTuning/lit.local.cfg index c48c2c9eab6f..a677f0306b68 100644 --- a/llvm/test/AutoTuning/lit.local.cfg +++ b/llvm/test/AutoTuning/lit.local.cfg @@ -1,4 +1,4 @@ if not config.enable_enable_autotuner: config.unsupported = True -if config.target_arch not in ['x86_64', 'aarch64']: +if config.host_arch not in ["x86", "X86", 'x86_64', 'aarch64']: config.unsupported = True \ No newline at end of file -- Gitee