[clang] [NFC][PowerPC][clang] Update clang/test/Driver/aix-default-target-triple.c for AIX specific targets (PR #147584)
Tony Varghese via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 8 22:19:19 PDT 2025
https://github.com/tonykuttai updated https://github.com/llvm/llvm-project/pull/147584
>From 8530b1d115c06c1796b640ce16de47fce684a469 Mon Sep 17 00:00:00 2001
From: Tony Varghese <tony.varghese at ibm.com>
Date: Tue, 8 Jul 2025 18:55:31 +0000
Subject: [PATCH 1/2] [NFC][PowerPC][clang] Update
clang/test/Driver/aix-default-target-triple.c for AIX specifc targets
---
clang/test/Driver/aix-default-target-triple.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/clang/test/Driver/aix-default-target-triple.c b/clang/test/Driver/aix-default-target-triple.c
index afad278de78d0..e08cfaf97d349 100644
--- a/clang/test/Driver/aix-default-target-triple.c
+++ b/clang/test/Driver/aix-default-target-triple.c
@@ -3,6 +3,7 @@
// and doesn't fall back to "unknown" due to constructor ambiguity.
// REQUIRES: system-aix
+// SUPPORTED: target={{.*}}-aix{{.*}}
// RUN: %clang -v %s -c 2>&1 | FileCheck %s --check-prefix=CHECK-TARGET
// Test that the target triple contains AIX and is not "unknown"
>From a735ffe5c80d2af208a83a53fbf751a40c792d1f Mon Sep 17 00:00:00 2001
From: Tony Varghese <tony.varghese at ibm.com>
Date: Tue, 8 Jul 2025 18:55:31 +0000
Subject: [PATCH 2/2] [NFC][PowerPC][clang] Update
clang/test/Driver/aix-default-target-triple.c for AIX specifc targets.
---
clang/test/Driver/aix-default-target-triple.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/clang/test/Driver/aix-default-target-triple.c b/clang/test/Driver/aix-default-target-triple.c
index e08cfaf97d349..d7a9b8c1cd1e0 100644
--- a/clang/test/Driver/aix-default-target-triple.c
+++ b/clang/test/Driver/aix-default-target-triple.c
@@ -2,13 +2,12 @@
// This test verifies that the default target triple is correctly resolved
// and doesn't fall back to "unknown" due to constructor ambiguity.
-// REQUIRES: system-aix
-// SUPPORTED: target={{.*}}-aix{{.*}}
+// REQUIRES: system-aix, target={{.*}}-aix{{.*}}
// RUN: %clang -v %s -c 2>&1 | FileCheck %s --check-prefix=CHECK-TARGET
// Test that the target triple contains AIX and is not "unknown"
// The target should be something like "powerpc-ibm-aix7.3.0.0"
-// CHECK-TARGET: Target: {{.*}}aix{{.*}}
+// CHECK-TARGET: Target: {{.*}}-aix{{.*}}
int main() {
return 0;
More information about the cfe-commits
mailing list