[llvm] f4e2d56 - [Sparc] Convert tests to check 'target=sparc.*'

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 1 11:41:38 PST 2022


Author: Paul Robinson
Date: 2022-12-01T11:41:30-08:00
New Revision: f4e2d56a070dc4dac6bc617b561ce28d2b441419

URL: https://github.com/llvm/llvm-project/commit/f4e2d56a070dc4dac6bc617b561ce28d2b441419
DIFF: https://github.com/llvm/llvm-project/commit/f4e2d56a070dc4dac6bc617b561ce28d2b441419.diff

LOG: [Sparc] Convert tests to check 'target=sparc.*'

Part of the project to eliminate special handling for triples in lit
expressions.

Added: 
    

Modified: 
    llvm/test/CodeGen/Generic/ForceStackAlign.ll
    llvm/test/DebugInfo/Generic/PR20038.ll
    llvm/test/DebugInfo/Generic/debug-label-inline.ll
    llvm/test/DebugInfo/Generic/no-empty-child-vars.ll
    llvm/test/Linker/subprogram-linkonce-weak.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/Generic/ForceStackAlign.ll b/llvm/test/CodeGen/Generic/ForceStackAlign.ll
index 9b07ea642525f..0a38d2d40d819 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 0f1415216d3b7..024a6abf0591a 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 fec1dd5705844..a73e2938998fe 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 53579580db859..1399b68b9b7f1 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 3b0fb5d7f603b..368de59f17a94 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.


        


More information about the llvm-commits mailing list