[clang] 6574d75 - [XOP] Add i386 test coverage to xop intrinsic tests

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 20 02:44:33 PDT 2022


Author: Simon Pilgrim
Date: 2022-04-20T10:44:27+01:00
New Revision: 6574d75b8dae6219d003fe8b1046db34199248f2

URL: https://github.com/llvm/llvm-project/commit/6574d75b8dae6219d003fe8b1046db34199248f2
DIFF: https://github.com/llvm/llvm-project/commit/6574d75b8dae6219d003fe8b1046db34199248f2.diff

LOG: [XOP] Add i386 test coverage to xop intrinsic tests

Added: 
    

Modified: 
    clang/test/CodeGen/X86/xop-builtins-cmp.c
    clang/test/CodeGen/X86/xop-builtins.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/X86/xop-builtins-cmp.c b/clang/test/CodeGen/X86/xop-builtins-cmp.c
index 7a9554c333f2e..af7bc6ce25c4e 100644
--- a/clang/test/CodeGen/X86/xop-builtins-cmp.c
+++ b/clang/test/CodeGen/X86/xop-builtins-cmp.c
@@ -1,5 +1,7 @@
 // RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +xop -emit-llvm -o - -Wall -Werror | FileCheck %s
 // RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +xop -fno-signed-char -emit-llvm -o - -Wall -Werror | FileCheck %s
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-apple-darwin -target-feature +xop -emit-llvm -o - -Wall -Werror | FileCheck %s
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-apple-darwin -target-feature +xop -fno-signed-char -emit-llvm -o - -Wall -Werror | FileCheck %s
 
 
 #include <x86intrin.h>

diff  --git a/clang/test/CodeGen/X86/xop-builtins.c b/clang/test/CodeGen/X86/xop-builtins.c
index 82f75049c5f7f..113af58a69339 100644
--- a/clang/test/CodeGen/X86/xop-builtins.c
+++ b/clang/test/CodeGen/X86/xop-builtins.c
@@ -1,5 +1,7 @@
 // RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +xop -emit-llvm -o - -Wall -Werror | FileCheck %s
 // RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +xop -fno-signed-char -emit-llvm -o - -Wall -Werror | FileCheck %s
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-apple-darwin -target-feature +xop -emit-llvm -o - -Wall -Werror | FileCheck %s
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-apple-darwin -target-feature +xop -fno-signed-char -emit-llvm -o - -Wall -Werror | FileCheck %s
 
 
 #include <x86intrin.h>


        


More information about the cfe-commits mailing list