[clang] 203cd01 - [PowerPC] [NFC] Add Big-Endian checks for existing MMA tests
Ahsan Saghir via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 12 18:39:32 PDT 2021
Author: Ahsan Saghir
Date: 2021-09-12T20:39:27-05:00
New Revision: 203cd01b54ddd720be17b8e19207ff5af4a22d4c
URL: https://github.com/llvm/llvm-project/commit/203cd01b54ddd720be17b8e19207ff5af4a22d4c
DIFF: https://github.com/llvm/llvm-project/commit/203cd01b54ddd720be17b8e19207ff5af4a22d4c.diff
LOG: [PowerPC] [NFC] Add Big-Endian checks for existing MMA tests
This patch adds Big-Endian checks for the existing MMA test cases.
It also changes the target for these test cases to pwr10.
Reviewed By: #powerpc, nemanjai
Differential Revision: https://reviews.llvm.org/D109126
Added:
Modified:
clang/test/CodeGen/builtins-ppc-pair-mma.c
clang/test/Sema/ppc-pair-mma-types.c
clang/test/SemaCXX/ppc-pair-mma-types.cpp
Removed:
################################################################################
diff --git a/clang/test/CodeGen/builtins-ppc-pair-mma.c b/clang/test/CodeGen/builtins-ppc-pair-mma.c
index 0bbf91090e52b..b8dda03498044 100644
--- a/clang/test/CodeGen/builtins-ppc-pair-mma.c
+++ b/clang/test/CodeGen/builtins-ppc-pair-mma.c
@@ -1,5 +1,8 @@
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
-// RUN: %clang_cc1 -O3 -triple powerpc64le-unknown-unknown -target-cpu future -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -O3 -triple powerpc64le-unknown-unknown -target-cpu pwr10 \
+// RUN: -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -O3 -triple powerpc64-unknown-unknown -target-cpu pwr10 \
+// RUN: -emit-llvm %s -o - | FileCheck %s
// CHECK-LABEL: @test1(
// CHECK-NEXT: entry:
diff --git a/clang/test/Sema/ppc-pair-mma-types.c b/clang/test/Sema/ppc-pair-mma-types.c
index dc12ff657ee42..80bdb2f165cfb 100644
--- a/clang/test/Sema/ppc-pair-mma-types.c
+++ b/clang/test/Sema/ppc-pair-mma-types.c
@@ -1,5 +1,7 @@
// RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -fsyntax-only \
-// RUN: -target-cpu future %s -verify
+// RUN: -target-cpu pwr10 %s -verify
+// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -fsyntax-only \
+// RUN: -target-cpu pwr10 %s -verify
// The use of PPC MMA types is strongly restricted. Non-pointer MMA variables
// can only be declared in functions and a limited number of operations are
diff --git a/clang/test/SemaCXX/ppc-pair-mma-types.cpp b/clang/test/SemaCXX/ppc-pair-mma-types.cpp
index c32406fdc94db..860c9d75ca7a0 100644
--- a/clang/test/SemaCXX/ppc-pair-mma-types.cpp
+++ b/clang/test/SemaCXX/ppc-pair-mma-types.cpp
@@ -1,5 +1,7 @@
// RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -fsyntax-only \
-// RUN: -fcxx-exceptions -target-cpu future %s -verify
+// RUN: -fcxx-exceptions -target-cpu pwr10 %s -verify
+// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -fsyntax-only \
+// RUN: -fcxx-exceptions -target-cpu pwr10 %s -verify
// vector quad
More information about the cfe-commits
mailing list