From f4e2d56a070dc4dac6bc617b561ce28d2b441419 Mon Sep 17 00:00:00 2001 From: Paul Robinson Date: Thu, 1 Dec 2022 11:40:53 -0800 Subject: [PATCH] [Sparc] Convert tests to check 'target=sparc.*' Part of the project to eliminate special handling for triples in lit expressions. --- llvm/test/CodeGen/Generic/ForceStackAlign.ll | 2 +- llvm/test/DebugInfo/Generic/PR20038.ll | 2 +- llvm/test/DebugInfo/Generic/debug-label-inline.ll | 2 +- llvm/test/DebugInfo/Generic/no-empty-child-vars.ll | 2 +- llvm/test/Linker/subprogram-linkonce-weak.ll | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/llvm/test/CodeGen/Generic/ForceStackAlign.ll b/llvm/test/CodeGen/Generic/ForceStackAlign.ll index 9b07ea6..0a38d2d 100644 --- a/llvm/test/CodeGen/Generic/ForceStackAlign.ll +++ b/llvm/test/CodeGen/Generic/ForceStackAlign.ll @@ -6,7 +6,7 @@ ; CHECK-LABEL: @g ; Stack realignment not supported. -; XFAIL: sparc +; XFAIL: target=sparc{{.*}} ; NVPTX cannot select dynamic_stackalloc ; XFAIL: target=nvptx{{.*}} diff --git a/llvm/test/DebugInfo/Generic/PR20038.ll b/llvm/test/DebugInfo/Generic/PR20038.ll index 0f14152..024a6ab 100644 --- a/llvm/test/DebugInfo/Generic/PR20038.ll +++ b/llvm/test/DebugInfo/Generic/PR20038.ll @@ -1,5 +1,5 @@ ; For some reason, the output when targetting sparc is not quite as expected. -; XFAIL: sparc +; XFAIL: target=sparc{{.*}} ; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -debug-info - | FileCheck %s --implicit-check-not=DW_TAG diff --git a/llvm/test/DebugInfo/Generic/debug-label-inline.ll b/llvm/test/DebugInfo/Generic/debug-label-inline.ll index fec1dd5..a73e293 100644 --- a/llvm/test/DebugInfo/Generic/debug-label-inline.ll +++ b/llvm/test/DebugInfo/Generic/debug-label-inline.ll @@ -1,7 +1,7 @@ ; RUN: llc -O0 -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s ; ; Bug 47129 -; XFAIL: sparc +; XFAIL: target=sparc{{.*}} ; ; CHECK: .debug_info contents: ; CHECK: [[LABEL_ORIGIN:0x[0-9a-zA-Z]+]]:{{ *}}DW_TAG_label diff --git a/llvm/test/DebugInfo/Generic/no-empty-child-vars.ll b/llvm/test/DebugInfo/Generic/no-empty-child-vars.ll index 5357958..1399b68 100644 --- a/llvm/test/DebugInfo/Generic/no-empty-child-vars.ll +++ b/llvm/test/DebugInfo/Generic/no-empty-child-vars.ll @@ -1,7 +1,7 @@ ; RUN: %llc_dwarf %s -o - -filetype=obj | llvm-dwarfdump - | FileCheck %s -implicit-check-not=DW_TAG ; ; Issue #46473 -; XFAIL: sparc +; XFAIL: target=sparc{{.*}} ; ; This tests that we do not create concrete variable DIEs for variables that ; have no location -- for both ways that LLVM-IR can express a variable with diff --git a/llvm/test/Linker/subprogram-linkonce-weak.ll b/llvm/test/Linker/subprogram-linkonce-weak.ll index 3b0fb5d..368de59 100644 --- a/llvm/test/Linker/subprogram-linkonce-weak.ll +++ b/llvm/test/Linker/subprogram-linkonce-weak.ll @@ -5,7 +5,7 @@ ; REQUIRES: object-emission ; ; Bug 47131 -; XFAIL: sparc +; XFAIL: target=sparc{{.*}} ; ; This testcase tests the following flow: ; - File A defines a linkonce version of @foo which has inlined into @bar. -- 2.7.4