[clang] 755b8f9 - [NFC][PowerPC][clang] Update clang/test/Driver/aix-default-target-triple.c for AIX specific targets (#147584)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 9 00:57:26 PDT 2025
Author: Tony Varghese
Date: 2025-07-09T13:27:23+05:30
New Revision: 755b8f914b8aa4159e76c0e3490e1887623512a6
URL: https://github.com/llvm/llvm-project/commit/755b8f914b8aa4159e76c0e3490e1887623512a6
DIFF: https://github.com/llvm/llvm-project/commit/755b8f914b8aa4159e76c0e3490e1887623512a6.diff
LOG: [NFC][PowerPC][clang] Update clang/test/Driver/aix-default-target-triple.c for AIX specific targets (#147584)
This is a followup on the [[PowerPC][clang] Fix triple constructor
ambiguity causing "unknown" target triple on
AIX](https://github.com/llvm/llvm-project/pull/147488#top) to address
the [post-commit review
comment](https://github.com/llvm/llvm-project/pull/147488#discussion_r2193111845).
---------
Co-authored-by: Tony Varghese <tony.varghese at ibm.com>
Added:
Modified:
clang/test/Driver/aix-default-target-triple.c
Removed:
################################################################################
diff --git a/clang/test/Driver/aix-default-target-triple.c b/clang/test/Driver/aix-default-target-triple.c
index afad278de78d0..d7a9b8c1cd1e0 100644
--- a/clang/test/Driver/aix-default-target-triple.c
+++ b/clang/test/Driver/aix-default-target-triple.c
@@ -2,12 +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
+// 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