Skip to content

Commit 532dc62

Browse files
committed
[OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC)
This adds -no-opaque-pointers to clang tests whose output will change when opaque pointers are enabled by default. This is intended to be part of the migration approach described in https://discourse.llvm.org/t/enabling-opaque-pointers-by-default/61322/9. The patch has been produced by replacing %clang_cc1 with %clang_cc1 -no-opaque-pointers for tests that fail with opaque pointers enabled. Worth noting that this doesn't cover all tests, there's a remaining ~40 tests not using %clang_cc1 that will need a followup change. Differential Revision: https://reviews.llvm.org/D123115
1 parent cd7b444 commit 532dc62

File tree

2,241 files changed

+12130
-12130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,241 files changed

+12130
-12130
lines changed

clang/test/CXX/drs/dr158.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// RUN: %clang_cc1 -triple x86_64-linux -std=c++98 %s -O3 -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s
2-
// RUN: %clang_cc1 -triple x86_64-linux -std=c++11 %s -O3 -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s
3-
// RUN: %clang_cc1 -triple x86_64-linux -std=c++14 %s -O3 -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s
4-
// RUN: %clang_cc1 -triple x86_64-linux -std=c++1z %s -O3 -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-linux -std=c++98 %s -O3 -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s
2+
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-linux -std=c++11 %s -O3 -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s
3+
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-linux -std=c++14 %s -O3 -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s
4+
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-linux -std=c++1z %s -O3 -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s
55

66
// dr158: yes
77

clang/test/CXX/except/except.spec/p14-ir.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fexceptions -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-darwin10 -emit-llvm -fexceptions -o - %s | FileCheck %s
22

33
// Copy constructor
44
struct X0 {

clang/test/CXX/except/except.spec/p9-dynamic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -fcxx-exceptions -fexceptions | FileCheck %s --check-prefixes=CHECK,CHECK-PRE17
2-
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -std=c++17 -Wno-dynamic-exception-spec -emit-llvm -o - -fcxx-exceptions -fexceptions | FileCheck %s --check-prefixes=CHECK,CHECK-17
1+
// RUN: %clang_cc1 -no-opaque-pointers %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -fcxx-exceptions -fexceptions | FileCheck %s --check-prefixes=CHECK,CHECK-PRE17
2+
// RUN: %clang_cc1 -no-opaque-pointers %s -triple=x86_64-apple-darwin10 -std=c++17 -Wno-dynamic-exception-spec -emit-llvm -o - -fcxx-exceptions -fexceptions | FileCheck %s --check-prefixes=CHECK,CHECK-17
33

44
void external();
55

clang/test/CXX/except/except.spec/p9-noexcept.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -std=c++11 -triple=x86_64-apple-darwin10 -emit-llvm -o - -fcxx-exceptions -fexceptions | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers %s -std=c++11 -triple=x86_64-apple-darwin10 -emit-llvm -o - -fcxx-exceptions -fexceptions | FileCheck %s
22

33
void external();
44

clang/test/CXX/expr/expr.prim/expr.prim.lambda/blocks-irgen.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -std=c++11 -fblocks -emit-llvm -o - -triple x86_64-apple-darwin11.3 %s | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers -std=c++11 -fblocks -emit-llvm -o - -triple x86_64-apple-darwin11.3 %s | FileCheck %s
22

33
namespace PR12746 {
44
// CHECK: define{{.*}} zeroext i1 @_ZN7PR127462f1EPi

clang/test/CXX/expr/p10-0x.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm -triple x86_64-pc-linux-gnu %s -o - -std=c++11 | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers -emit-llvm -triple x86_64-pc-linux-gnu %s -o - -std=c++11 | FileCheck %s
22

33
volatile int g1;
44
struct S {

clang/test/CXX/special/class.copy/p15-inclass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -emit-llvm -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-darwin -std=c++11 -emit-llvm -o - %s | FileCheck %s
22

33
namespace PR11418 {
44
struct NonPOD {

clang/test/CodeGen/2004-02-13-BuiltinFrameReturnAddress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers %s -emit-llvm -o - | FileCheck %s
22

33
void *test1(void) {
44
// CHECK: call i8* @llvm.returnaddress

clang/test/CodeGen/2005-01-02-ConstantInits.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --function-signature --check-globals --global-value-regex "@.+"
2-
// RUN: %clang_cc1 -triple=x86_64-unknown-linux %s -emit-llvm -o - | FileCheck %s
2+
// RUN: %clang_cc1 -no-opaque-pointers -triple=x86_64-unknown-linux %s -emit-llvm -o - | FileCheck %s
33

44
// This tests all kinds of hard cases with initializers and
55
// array subscripts. This corresponds to PR487.

clang/test/CodeGen/2005-12-04-AttributeUsed.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers %s -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
22

33
// CHECK: @llvm.used = appending global [2 x i8*] [i8* bitcast (void ()* @foo to i8*), i8* bitcast (i32* @X to i8*)], section "llvm.metadata"
44
int X __attribute__((used));

clang/test/CodeGen/2006-01-13-StackSave.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// PR691
2-
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
2+
// RUN: %clang_cc1 -no-opaque-pointers %s -emit-llvm -o - | FileCheck %s
33
// CHECK: call i8* @llvm.stacksave()
44

55
void test(int N) {

clang/test/CodeGen/2006-05-19-SingleEltReturn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Test returning a single element aggregate value containing a double.
2-
// RUN: %clang_cc1 -triple i686-linux %s -emit-llvm -o - | FileCheck %s --check-prefix=X86_32
3-
// RUN: %clang_cc1 %s -emit-llvm -o -
2+
// RUN: %clang_cc1 -no-opaque-pointers -triple i686-linux %s -emit-llvm -o - | FileCheck %s --check-prefix=X86_32
3+
// RUN: %clang_cc1 -no-opaque-pointers %s -emit-llvm -o -
44

55
struct X {
66
double D;

clang/test/CodeGen/2007-03-27-VarLengthArray.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers -emit-llvm %s -o - | FileCheck %s
22

33
// CHECK: getelementptr inbounds i32, i32* %{{vla|[0-9]}}
44
extern void f(int *);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// PR 1417
2-
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
2+
// RUN: %clang_cc1 -no-opaque-pointers %s -emit-llvm -o - | FileCheck %s
33

44
// CHECK: global %struct.anon* null
55
struct { } *X;

clang/test/CodeGen/2007-11-07-CopyAggregateAlign.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers -emit-llvm %s -o - | FileCheck %s
22
struct A { char s, t, u, v; short a; };
33
// CHECK: %a = alloca %struct.A, align 2
44
// CHECK: %b = alloca %struct.A, align 2

clang/test/CodeGen/2007-11-07-ZeroAggregateAlign.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers -emit-llvm %s -o - | FileCheck %s
22
struct A { short s; short t; int i; };
33
// CHECK: %a = alloca %struct.A, align 4
44
// CHECK: call void @llvm.memset.p0i8.{{.*}} align 4 {{.*}}, i1 false)

clang/test/CodeGen/2008-03-05-syncPtr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-darwin %s -emit-llvm -o - | FileCheck %s
22

33
int* foo(int** a, int* b, int* c) {
44
return __sync_val_compare_and_swap (a, b, c);

clang/test/CodeGen/2008-08-07-AlignPadding1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* RUN: %clang_cc1 %s -emit-llvm -triple x86_64-apple-darwin -o - | FileCheck %s
1+
/* RUN: %clang_cc1 -no-opaque-pointers %s -emit-llvm -triple x86_64-apple-darwin -o - | FileCheck %s
22
33
The FE must generate padding here both at the end of each PyG_Head and
44
between array elements. Reduced from Python. */

clang/test/CodeGen/2009-02-13-zerosize-union-field.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -no-enable-noundef-analysis -triple i686-apple-darwin -emit-llvm -o - | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers %s -no-enable-noundef-analysis -triple i686-apple-darwin -emit-llvm -o - | FileCheck %s
22
// Every printf has 'i32 0' for the GEP of the string; no point counting those.
33
typedef unsigned int Foo __attribute__((aligned(32)));
44
typedef union{Foo:0;}a;

clang/test/CodeGen/2010-01-13-MemBarrier.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers %s -emit-llvm -o - | FileCheck %s
22
// rdar://7536390
33

44
typedef unsigned __INT32_TYPE__ uint32_t;

clang/test/CodeGen/2010-05-26-AsmSideEffect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: arm-registered-target
2-
// RUN: %clang_cc1 %s -emit-llvm -triple arm-apple-darwin -o - | FileCheck %s
2+
// RUN: %clang_cc1 -no-opaque-pointers %s -emit-llvm -triple arm-apple-darwin -o - | FileCheck %s
33
// Radar 8026855
44

55
int test (void *src) {

clang/test/CodeGen/2010-07-14-overconservative-align.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers %s -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
22
// PR 5995
33
struct s {
44
int word;

clang/test/CodeGen/2010-07-14-ref-off-end.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -emit-llvm -triple i386-apple-darwin -o - | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers %s -emit-llvm -triple i386-apple-darwin -o - | FileCheck %s
22
extern void abort(void);
33
extern void exit(int);
44
struct T

clang/test/CodeGen/2011-03-31-ArrayRefFolding.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm -o - -triple i386-apple-darwin %s | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers -emit-llvm -o - -triple i386-apple-darwin %s | FileCheck %s
22
// PR9571
33

44
struct t {

clang/test/CodeGen/24-bit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -O0 -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-linux-gnu -emit-llvm -O0 -o - %s | FileCheck %s
22

33
static union ibtt2
44
{

clang/test/CodeGen/64bit-swiftcall.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// RUN: %clang_cc1 -no-enable-noundef-analysis -triple x86_64-apple-darwin10 -target-cpu core2 -emit-llvm -o - %s | FileCheck %s
2-
// RUN: %clang_cc1 -no-enable-noundef-analysis -triple x86_64-apple-darwin10 -target-cpu core2 -emit-llvm -o - %s | FileCheck %s --check-prefix=X86-64
3-
// RUN: %clang_cc1 -no-enable-noundef-analysis -triple arm64-apple-ios9 -target-cpu cyclone -emit-llvm -o - %s | FileCheck %s
4-
// RUN: %clang_cc1 -no-enable-noundef-analysis -triple arm64-apple-ios9 -target-cpu cyclone -emit-llvm -o - %s | FileCheck %s --check-prefix=ARM64
1+
// RUN: %clang_cc1 -no-opaque-pointers -no-enable-noundef-analysis -triple x86_64-apple-darwin10 -target-cpu core2 -emit-llvm -o - %s | FileCheck %s
2+
// RUN: %clang_cc1 -no-opaque-pointers -no-enable-noundef-analysis -triple x86_64-apple-darwin10 -target-cpu core2 -emit-llvm -o - %s | FileCheck %s --check-prefix=X86-64
3+
// RUN: %clang_cc1 -no-opaque-pointers -no-enable-noundef-analysis -triple arm64-apple-ios9 -target-cpu cyclone -emit-llvm -o - %s | FileCheck %s
4+
// RUN: %clang_cc1 -no-opaque-pointers -no-enable-noundef-analysis -triple arm64-apple-ios9 -target-cpu cyclone -emit-llvm -o - %s | FileCheck %s --check-prefix=ARM64
55

66
// REQUIRES: aarch64-registered-target,x86-registered-target
77

clang/test/CodeGen/Atomics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Test frontend handling of __sync builtins.
22
// Modified from a gcc testcase.
3-
// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s
3+
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s
44

55
signed char sc;
66
unsigned char uc;

clang/test/CodeGen/Nontemporal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Test frontend handling of nontemporal builtins.
2-
// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s
2+
// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s
33

44
signed char sc;
55
unsigned char uc;

clang/test/CodeGen/PowerPC/aix-alignment.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: powerpc-registered-target
2-
// RUN: %clang_cc1 -triple powerpc-unknown-aix -emit-llvm -o - %s | \
2+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-unknown-aix -emit-llvm -o - %s | \
33
// RUN: FileCheck %s --check-prefixes=AIX,AIX32
4-
// RUN: %clang_cc1 -triple powerpc64-unknown-aix -emit-llvm -o - %s | \
4+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc64-unknown-aix -emit-llvm -o - %s | \
55
// RUN: FileCheck %s --check-prefixes=AIX,AIX64
66

77
// AIX: @d = global double 0.000000e+00, align 8

clang/test/CodeGen/PowerPC/aix-altivec-vaargs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: powerpc-registered-target
2-
// RUN: %clang_cc1 -triple powerpc-unknown-aix -emit-llvm -target-feature +altivec -target-cpu pwr7 -o - %s | FileCheck %s --check-prefixes=CHECK,AIX32
3-
// RUN: %clang_cc1 -triple powerpc64-unknown-aix -emit-llvm -target-feature +altivec -target-cpu pwr7 -o - %s | FileCheck %s --check-prefixes=CHECK,AIX64
2+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-unknown-aix -emit-llvm -target-feature +altivec -target-cpu pwr7 -o - %s | FileCheck %s --check-prefixes=CHECK,AIX32
3+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc64-unknown-aix -emit-llvm -target-feature +altivec -target-cpu pwr7 -o - %s | FileCheck %s --check-prefixes=CHECK,AIX64
44

55
vector double vector_varargs(int count, ...) {
66
__builtin_va_list arg_list;

clang/test/CodeGen/PowerPC/aix-altivec.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: powerpc-registered-target
2-
// RUN: %clang_cc1 -triple powerpc64-unknown-aix -target-feature +altivec -target-cpu pwr8 -emit-llvm %s -o - | FileCheck %s
3-
// RUN: %clang_cc1 -triple powerpc-unknown-aix -target-feature +altivec -target-cpu pwr8 -emit-llvm %s -o - | FileCheck %s
2+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc64-unknown-aix -target-feature +altivec -target-cpu pwr8 -emit-llvm %s -o - | FileCheck %s
3+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-unknown-aix -target-feature +altivec -target-cpu pwr8 -emit-llvm %s -o - | FileCheck %s
44
vector float foo1(vector float x) { return x; }
55
// CHECK: define <4 x float> @foo1(<4 x float> noundef %x) [[ATTR:#[0-9]+]] {
66
// CHECK: entry:

clang/test/CodeGen/PowerPC/aix-constructor-attribute.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// RUN: %clang_cc1 -triple powerpc-ibm-aix-xcoff -emit-llvm \
1+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-ibm-aix-xcoff -emit-llvm \
22
// RUN: -fno-use-cxa-atexit < %s |\
33
// RUN: FileCheck %s
4-
// RUN: %clang_cc1 -triple powerpc64-ibm-aix-xcoff -emit-llvm \
4+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc64-ibm-aix-xcoff -emit-llvm \
55
// RUN: -fno-use-cxa-atexit < %s | \
66
// RUN: FileCheck %s
77

clang/test/CodeGen/PowerPC/aix-destructor-attribute.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
// RUN: %clang_cc1 -triple powerpc-ibm-aix-xcoff -emit-llvm \
1+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-ibm-aix-xcoff -emit-llvm \
22
// RUN: -fno-use-cxa-atexit < %s | \
33
// RUN: FileCheck --check-prefix=NO-REGISTER %s
4-
// RUN: %clang_cc1 -triple powerpc64-ibm-aix-xcoff -emit-llvm \
4+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc64-ibm-aix-xcoff -emit-llvm \
55
// RUN: -fno-use-cxa-atexit < %s | \
66
// RUN: FileCheck --check-prefix=NO-REGISTER %s
77

8-
// RUN: %clang_cc1 -triple powerpc-ibm-aix-xcoff -emit-llvm \
8+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-ibm-aix-xcoff -emit-llvm \
99
// RUN: -fno-use-cxa-atexit -fregister-global-dtors-with-atexit < %s | \
1010
// RUN: FileCheck --check-prefix=REGISTER %s
11-
// RUN: %clang_cc1 -triple powerpc64-ibm-aix-xcoff -emit-llvm \
11+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc64-ibm-aix-xcoff -emit-llvm \
1212
// RUN: -fno-use-cxa-atexit -fregister-global-dtors-with-atexit < %s | \
1313
// RUN: FileCheck --check-prefix=REGISTER %s
1414

clang/test/CodeGen/PowerPC/aix-ignore-xcoff-visibility.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
// RUN: %clang_cc1 -triple powerpc-unknown-aix -emit-llvm -o - -x c++ %s | \
1+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-unknown-aix -emit-llvm -o - -x c++ %s | \
22
// RUN: FileCheck -check-prefix=NOVISIBILITY-IR %s
33

4-
// RUN: %clang_cc1 -triple powerpc-unknown-aix -emit-llvm -round-trip-args -o - -x c++ %s | \
4+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-unknown-aix -emit-llvm -round-trip-args -o - -x c++ %s | \
55
// RUN: FileCheck -check-prefix=NOVISIBILITY-IR %s
66

7-
// RUN: %clang_cc1 -triple powerpc-unknown-aix -mignore-xcoff-visibility -fvisibility default -emit-llvm -o - -x c++ %s | \
7+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-unknown-aix -mignore-xcoff-visibility -fvisibility default -emit-llvm -o - -x c++ %s | \
88
// RUN: FileCheck -check-prefix=NOVISIBILITY-IR %s
99

10-
// RUN: %clang_cc1 -triple powerpc-unknown-aix -mignore-xcoff-visibility -fvisibility default -emit-llvm -round-trip-args -o - -x c++ %s | \
10+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-unknown-aix -mignore-xcoff-visibility -fvisibility default -emit-llvm -round-trip-args -o - -x c++ %s | \
1111
// RUN: FileCheck -check-prefix=NOVISIBILITY-IR %s
1212

13-
// RUN: %clang_cc1 -triple powerpc-unknown-aix -fvisibility default -emit-llvm -o - -x c++ %s | \
13+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-unknown-aix -fvisibility default -emit-llvm -o - -x c++ %s | \
1414
// RUN: FileCheck -check-prefix=VISIBILITY-IR %s
1515

16-
// RUN: %clang_cc1 -triple powerpc-unknown-aix -fvisibility default -round-trip-args -emit-llvm -o - -x c++ %s | \
16+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-unknown-aix -fvisibility default -round-trip-args -emit-llvm -o - -x c++ %s | \
1717
// RUN: FileCheck -check-prefix=VISIBILITY-IR %s
1818

1919
__attribute__((visibility("hidden"))) void foo_h(int *p) {

clang/test/CodeGen/PowerPC/aix-init-priority-attribute.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// RUN: %clang_cc1 -triple powerpc-ibm-aix-xcoff -x c++ -emit-llvm < %s | \
1+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-ibm-aix-xcoff -x c++ -emit-llvm < %s | \
22
// RUN: FileCheck %s
3-
// RUN: %clang_cc1 -triple powerpc64-ibm-aix-xcoff -x c++ -emit-llvm < %s | \
3+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc64-ibm-aix-xcoff -x c++ -emit-llvm < %s | \
44
// RUN: FileCheck %s
55

66
struct test {

clang/test/CodeGen/PowerPC/aix-struct-arg.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: powerpc-registered-target
2-
// RUN: %clang_cc1 -triple powerpc-unknown-aix -target-feature +altivec \
2+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-unknown-aix -target-feature +altivec \
33
// RUN: -emit-llvm -o - %s | FileCheck --check-prefix=AIX32 %s
4-
// RUN: %clang_cc1 -triple powerpc64-unknown-aix -target-feature +altivec \
4+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc64-unknown-aix -target-feature +altivec \
55
// RUN: -emit-llvm -o - %s | FileCheck --check-prefix=AIX64 %s
66

77
typedef struct {

clang/test/CodeGen/PowerPC/aix-vaargs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: powerpc-registered-target
22
// REQUIRES: asserts
3-
// RUN: %clang_cc1 -triple powerpc-unknown-aix -emit-llvm -o - %s | FileCheck %s --check-prefixes=CHECK,AIX32
4-
// RUN: %clang_cc1 -triple powerpc64-unknown-aix -emit-llvm -o - %s | FileCheck %s --check-prefixes=CHECK,AIX64
3+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-unknown-aix -emit-llvm -o - %s | FileCheck %s --check-prefixes=CHECK,AIX32
4+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc64-unknown-aix -emit-llvm -o - %s | FileCheck %s --check-prefixes=CHECK,AIX64
55

66
struct x {
77
double b;

clang/test/CodeGen/PowerPC/aix32-complex-varargs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: powerpc-registered-target
2-
// RUN: %clang_cc1 -triple powerpc-ibm-aix-xcoff -emit-llvm -o - %s | FileCheck %s
2+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-ibm-aix-xcoff -emit-llvm -o - %s | FileCheck %s
33

44
#include <stdarg.h>
55

clang/test/CodeGen/PowerPC/bool_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: powerpc-registered-target
2-
// RUN: %clang_cc1 -triple powerpc-unknown-linux-gnu -emit-llvm -o - %s -O2 -disable-llvm-passes | FileCheck %s
2+
// RUN: %clang_cc1 -no-opaque-pointers -triple powerpc-unknown-linux-gnu -emit-llvm -o - %s -O2 -disable-llvm-passes | FileCheck %s
33

44
int boolsize = sizeof(_Bool);
55
// CHECK: boolsize ={{.*}} global i32 1, align 4

clang/test/CodeGen/PowerPC/builtins-ppc-32bit-vec-ll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: powerpc-registered-target
2-
// RUN: %clang_cc1 -target-feature +altivec -target-feature +power8-vector \
2+
// RUN: %clang_cc1 -no-opaque-pointers -target-feature +altivec -target-feature +power8-vector \
33
// RUN: -triple powerpc-unknown-unknown -emit-llvm %s -o - | FileCheck %s
44

55
#include <altivec.h>

clang/test/CodeGen/PowerPC/builtins-ppc-altivec.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
// REQUIRES: powerpc-registered-target
2-
// RUN: %clang_cc1 -target-feature +altivec -triple powerpc-unknown-unknown -emit-llvm %s \
2+
// RUN: %clang_cc1 -no-opaque-pointers -target-feature +altivec -triple powerpc-unknown-unknown -emit-llvm %s \
33
// RUN: -flax-vector-conversions=none -faltivec-src-compat=mixed \
44
// RUN: -o - | FileCheck %s
5-
// RUN: %clang_cc1 -target-feature +altivec -triple powerpcle-unknown-unknown -emit-llvm %s \
5+
// RUN: %clang_cc1 -no-opaque-pointers -target-feature +altivec -triple powerpcle-unknown-unknown -emit-llvm %s \
66
// RUN: -flax-vector-conversions=none -faltivec-src-compat=mixed \
77
// RUN: -o - | FileCheck %s -check-prefix=CHECK-LE
8-
// RUN: %clang_cc1 -target-feature +altivec -triple powerpc64-unknown-unknown -emit-llvm %s \
8+
// RUN: %clang_cc1 -no-opaque-pointers -target-feature +altivec -triple powerpc64-unknown-unknown -emit-llvm %s \
99
// RUN: -flax-vector-conversions=none -faltivec-src-compat=mixed \
1010
// RUN: -o - | FileCheck %s
11-
// RUN: %clang_cc1 -target-feature +altivec -triple powerpc64le-unknown-unknown -emit-llvm %s \
11+
// RUN: %clang_cc1 -no-opaque-pointers -target-feature +altivec -triple powerpc64le-unknown-unknown -emit-llvm %s \
1212
// RUN: -flax-vector-conversions=none -faltivec-src-compat=mixed \
1313
// RUN: -o - | FileCheck %s -check-prefix=CHECK-LE
14-
// RUN: not %clang_cc1 -triple powerpc64le-unknown-unknown -emit-llvm %s \
14+
// RUN: not %clang_cc1 -no-opaque-pointers -triple powerpc64le-unknown-unknown -emit-llvm %s \
1515
// RUN: -ferror-limit 0 -DNO_ALTIVEC -o - 2>&1 \
1616
// RUN: | FileCheck %s -check-prefix=CHECK-NOALTIVEC
1717
#ifndef NO_ALTIVEC

0 commit comments

Comments
 (0)