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

Qiongsi Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 15 09:25:38 PDT 2023


qiongsiwu1 created this revision.
qiongsiwu1 added reviewers: hubert.reinterpretcast, stephenpeckham, MaskRay, cebowleratibm.
qiongsiwu1 added a project: clang.
Herald added subscribers: kristof.beyls, nemanjai.
Herald added a project: All.
qiongsiwu1 requested review of this revision.
Herald added a subscriber: cfe-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150586

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


Index: clang/test/CodeGen/PowerPC/aix-roptr.c
===================================================================
--- 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'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150586.522228.patch
Type: text/x-patch
Size: 1417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230515/5e6921d9/attachment-0001.bin>


More information about the cfe-commits mailing list