[clang] 25d61be - [X86] avx-shuffle-builtins.c - limit to x86 targets

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 20 09:59:24 PDT 2024


Author: Simon Pilgrim
Date: 2024-03-20T16:59:11Z
New Revision: 25d61be8a5e563988661709c5d01f67c06b388e2

URL: https://github.com/llvm/llvm-project/commit/25d61be8a5e563988661709c5d01f67c06b388e2
DIFF: https://github.com/llvm/llvm-project/commit/25d61be8a5e563988661709c5d01f67c06b388e2.diff

LOG: [X86] avx-shuffle-builtins.c - limit to x86 targets

Attempt to fix issue with non-x86 buildbots (sorry its blind but I can't test this)

Added: 
    

Modified: 
    clang/test/CodeGen/X86/avx-shuffle-builtins.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/X86/avx-shuffle-builtins.c b/clang/test/CodeGen/X86/avx-shuffle-builtins.c
index 82be43bc05049f..49a56e73230d7d 100644
--- a/clang/test/CodeGen/X86/avx-shuffle-builtins.c
+++ b/clang/test/CodeGen/X86/avx-shuffle-builtins.c
@@ -1,3 +1,4 @@
+// REQUIRES: x86-registered-target
 // RUN: %clang_cc1 -ffreestanding %s -O3 -triple=x86_64-apple-darwin -target-feature +avx -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,X64
 // RUN: %clang_cc1 -ffreestanding %s -O3 -triple=i386-apple-darwin -target-feature +avx -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,X86
 // FIXME: This is testing optimized generation of shuffle instructions and should be fixed.


        


More information about the cfe-commits mailing list