Skip to content

Commit

Permalink
[PowerPC] [NFC] Add Big-Endian checks for existing MMA tests
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ahsan Saghir committed Sep 13, 2021
1 parent 9a193bd commit 203cd01
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion 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:
Expand Down
4 changes: 3 additions & 1 deletion 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
Expand Down
4 changes: 3 additions & 1 deletion 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

Expand Down

0 comments on commit 203cd01

Please sign in to comment.