diff --git a/clang/test/CodeGen/PowerPC/ppc-mm-malloc-le.c b/clang/test/CodeGen/PowerPC/ppc-mm-malloc-le.c --- a/clang/test/CodeGen/PowerPC/ppc-mm-malloc-le.c +++ b/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 diff --git a/clang/test/CodeGen/PowerPC/ppc-mm-malloc.c b/clang/test/CodeGen/PowerPC/ppc-mm-malloc.c --- a/clang/test/CodeGen/PowerPC/ppc-mm-malloc.c +++ b/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 diff --git a/clang/test/CodeGen/no-builtin.cpp b/clang/test/CodeGen/no-builtin.cpp --- a/clang/test/CodeGen/no-builtin.cpp +++ b/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"))) {} diff --git a/clang/test/CodeGenCoroutines/pr56329.cpp b/clang/test/CodeGenCoroutines/pr56329.cpp --- a/clang/test/CodeGenCoroutines/pr56329.cpp +++ b/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" diff --git a/clang/test/Sema/no-builtin.cpp b/clang/test/Sema/no-builtin.cpp --- a/clang/test/Sema/no-builtin.cpp +++ b/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)) {} diff --git a/llvm/test/DebugInfo/debuglineinfo-path.ll b/llvm/test/DebugInfo/debuglineinfo-path.ll --- a/llvm/test/DebugInfo/debuglineinfo-path.ll +++ b/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