Index: clang/test/ASTMerge/codegen-body/test.c =================================================================== --- clang/test/ASTMerge/codegen-body/test.c +++ clang/test/ASTMerge/codegen-body/test.c @@ -1,4 +1,4 @@ -// UNSUPPORTED: powerpc64-ibm-aix +// UNSUPPORTED: target=powerpc64-ibm-aix // RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/body1.c // RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/body2.c // RUN: %clang_cc1 -emit-obj -o /dev/null -ast-merge %t.1.ast -ast-merge %t.2.ast %s Index: clang/test/ClangScanDeps/modules-full-by-mod-name.cpp =================================================================== --- clang/test/ClangScanDeps/modules-full-by-mod-name.cpp +++ clang/test/ClangScanDeps/modules-full-by-mod-name.cpp @@ -1,4 +1,4 @@ -// UNSUPPORTED: powerpc64-ibm-aix +// UNSUPPORTED: target=powerpc64-ibm-aix // RUN: rm -rf %t.dir // RUN: rm -rf %t.cdb // RUN: mkdir -p %t.dir Index: clang/test/CodeGen/PowerPC/ppc-mm-malloc-le.c =================================================================== --- clang/test/CodeGen/PowerPC/ppc-mm-malloc-le.c +++ clang/test/CodeGen/PowerPC/ppc-mm-malloc-le.c @@ -1,6 +1,5 @@ // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py -// REQUIRES: native, powerpc-registered-target -// UNSUPPORTED: !powerpc64le- +// REQUIRES: native, target=powerpc64le-{{.*}} // The stdlib.h included in mm_malloc.h references native system header // like: bits/libc-header-start.h or features.h, cross-compile it may // require installing target headers in build env, otherwise expecting Index: clang/test/CodeGen/PowerPC/ppc-mm-malloc.c =================================================================== --- clang/test/CodeGen/PowerPC/ppc-mm-malloc.c +++ clang/test/CodeGen/PowerPC/ppc-mm-malloc.c @@ -1,6 +1,5 @@ // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py -// REQUIRES: native, powerpc-registered-target -// UNSUPPORTED: !powerpc64- +// REQUIRES: native, target=powerpc64-{{.*}} // The stdlib.h included in mm_malloc.h references native system header // like: bits/libc-header-start.h or features.h, cross-compile it may // require installing target headers in build env, otherwise expecting Index: clang/test/CodeGen/no-builtin.cpp =================================================================== --- clang/test/CodeGen/no-builtin.cpp +++ clang/test/CodeGen/no-builtin.cpp @@ -1,5 +1,4 @@ // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-linux-gnu -S -emit-llvm -o - %s | FileCheck %s -// UNSUPPORTED: ppc64be // CHECK-LABEL: define{{.*}} void @foo_no_mempcy() #0 extern "C" void foo_no_mempcy() __attribute__((no_builtin("memcpy"))) {} Index: clang/test/CodeGenCoroutines/pr56329.cpp =================================================================== --- clang/test/CodeGenCoroutines/pr56329.cpp +++ clang/test/CodeGenCoroutines/pr56329.cpp @@ -2,7 +2,7 @@ // // RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++20 %s -O3 -S -emit-llvm -o - | FileCheck %s // This test is expected to fail on PowerPC. -// XFAIL: powerpc +// XFAIL: target=powerpc{{.*}} #include "Inputs/coroutine.h" Index: clang/test/Sema/no-builtin.cpp =================================================================== --- clang/test/Sema/no-builtin.cpp +++ clang/test/Sema/no-builtin.cpp @@ -1,5 +1,4 @@ // RUN: %clang_cc1 -triple x86_64-unknown-unknown -fsyntax-only -verify %s -// UNSUPPORTED: ppc64be /// Prevent use of all builtins. void valid_attribute_all_1() __attribute__((no_builtin)) {} Index: llvm/test/DebugInfo/debuglineinfo-path.ll =================================================================== --- llvm/test/DebugInfo/debuglineinfo-path.ll +++ llvm/test/DebugInfo/debuglineinfo-path.ll @@ -2,7 +2,7 @@ ; On powerpc llvm-nm describes win_func as a global variable, not a function. It breaks the test. ; It is not essential to DWARF path handling code we're testing here. -; UNSUPPORTED: powerpc +; UNSUPPORTED: target=powerpc{{.*}} ; REQUIRES: object-emission ; RUN: %llc_dwarf -O0 -filetype=obj -o %t < %s ; RUN: llvm-nm --radix=o %t | grep posix_absolute_func > %t.posix_absolute_func