[clang] 80cf56e - [clang][AIX] Remove Newly Added Target Dependent Test Case

Qiongsi Wu via cfe-commits cfe-commits at lists.llvm.org
Mon May 15 09:55:11 PDT 2023


Author: Qiongsi Wu
Date: 2023-05-15T12:54:09-04:00
New Revision: 80cf56ea1bae05298a823b96b6b545ebca33b44a

URL: https://github.com/llvm/llvm-project/commit/80cf56ea1bae05298a823b96b6b545ebca33b44a
DIFF: https://github.com/llvm/llvm-project/commit/80cf56ea1bae05298a823b96b6b545ebca33b44a.diff

LOG: [clang][AIX] Remove Newly Added Target Dependent Test Case

https://reviews.llvm.org/D144190 added a test case that is target dependent and requires assembly code generation, which fails on x64 and aarch64 buildbots. This patch removes the test case. We have test cases for code generation added in https://reviews.llvm.org/D144189 already and this removed case was nice to have.

Differential Revision: https://reviews.llvm.org/D150586

Added: 
    

Modified: 
    

Removed: 
    clang/test/CodeGen/PowerPC/aix-roptr.c


################################################################################
diff  --git a/clang/test/CodeGen/PowerPC/aix-roptr.c b/clang/test/CodeGen/PowerPC/aix-roptr.c
deleted file mode 100644
index 415bfd47bd41f..0000000000000
--- a/clang/test/CodeGen/PowerPC/aix-roptr.c
+++ /dev/null
@@ -1,25 +0,0 @@
-// RUN: %clang_cc1 -triple=powerpc-ibm-aix-xcoff -mxcoff-roptr -fdata-sections \
-// RUN:     -S <%s | FileCheck %s --check-prefix=CHECK32
-// RUN: %clang_cc1 -triple=powerpc64-ibm-aix-xcoff -mxcoff-roptr -fdata-sections \
-// RUN:     -S <%s | FileCheck %s --check-prefix=CHECK64
-// RUN: not %clang_cc1 -triple=powerpc-ibm-aix-xcoff -mxcoff-roptr \
-// RUN:     -S <%s 2>&1 | FileCheck %s --check-prefix=DATA_SECTION_ERR
-// RUN: not %clang_cc1 -triple=powerpc64-ibm-aix-xcoff -mxcoff-roptr \
-// RUN:     -S <%s 2>&1 | FileCheck %s --check-prefix=DATA_SECTION_ERR
-// RUN: not %clang_cc1 -triple=powerpc64le-unknown-linux-gnu -mxcoff-roptr \
-// RUN:     %s 2>&1 | FileCheck %s --check-prefix=TARGET_ROPTR_ERR
-
-char c1 = 10;
-char* const c1_ptr = &c1;
-// CHECK32:         .csect c1_ptr[RO],2
-// CHECK32-NEXT:	.globl	c1_ptr[RO]
-// CHECK32-NEXT:	.align	2
-// CHECK32-NEXT:	.vbyte	4, c1[RW]
-
-// CHECK64:         .csect c1_ptr[RO],3
-// CHECK64-NEXT:	.globl	c1_ptr[RO]
-// CHECK64-NEXT:	.align	3
-// CHECK64-NEXT:	.vbyte	8, c1[RW]
-
-// DATA_SECTION_ERR: error: -mxcoff-roptr is supported only with -fdata-sections
-// TARGET_ROPTR_ERR: error: unsupported option '-mxcoff-roptr' for target 'powerpc64le-unknown-linux-gnu'


        


More information about the cfe-commits mailing list