Skip to content

SPARC: Disable generic codegen tests that depend on libcalls - #217264

Merged
arsenm merged 1 commit into
mainfrom
users/arsenm/sparc-unsupported-libcall-generic-codegen-tests
Aug 19, 2026
Merged

SPARC: Disable generic codegen tests that depend on libcalls#217264
arsenm merged 1 commit into
mainfrom
users/arsenm/sparc-unsupported-libcall-generic-codegen-tests

Conversation

@arsenm

@arsenm arsenm commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

The module doesn't get the triple set without any target argument,
so the assumed set of libcalls is empty

The module doesn't get the triple set without any target argument,
so the assumed set of libcalls is empty

arsenm commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@arsenm
arsenm marked this pull request as ready for review August 19, 2026 10:26
@llvmorg-github-actions

Copy link
Copy Markdown

@llvm/pr-subscribers-backend-sparc

Author: Matt Arsenault (arsenm)

Changes

The module doesn't get the triple set without any target argument,
so the assumed set of libcalls is empty


Full diff: https://github.com/llvm/llvm-project/pull/217264.diff

2 Files Affected:

  • (modified) llvm/test/CodeGen/Generic/2008-02-04-Ctlz.ll (+1)
  • (modified) llvm/test/CodeGen/Generic/llvm-ct-intrinsics.ll (+1)
diff --git a/llvm/test/CodeGen/Generic/2008-02-04-Ctlz.ll b/llvm/test/CodeGen/Generic/2008-02-04-Ctlz.ll
index 43815237c67e9..c7af2e4975d63 100644
--- a/llvm/test/CodeGen/Generic/2008-02-04-Ctlz.ll
+++ b/llvm/test/CodeGen/Generic/2008-02-04-Ctlz.ll
@@ -1,4 +1,5 @@
 ; RUN: llc < %s
+; UNSUPPORTED: target=sparc{{.*}}
 
 @.str = internal constant [14 x i8] c"%lld %d %d %d\00"
 
diff --git a/llvm/test/CodeGen/Generic/llvm-ct-intrinsics.ll b/llvm/test/CodeGen/Generic/llvm-ct-intrinsics.ll
index aee06435cdfb9..85f69d68a7a6a 100644
--- a/llvm/test/CodeGen/Generic/llvm-ct-intrinsics.ll
+++ b/llvm/test/CodeGen/Generic/llvm-ct-intrinsics.ll
@@ -1,5 +1,6 @@
 ; Make sure this testcase is supported by all code generators
 ; RUN: llc < %s
+; UNSUPPORTED: target=sparc{{.*}}
 
 declare i64 @llvm.ctpop.i64(i64)
 

@arsenm
arsenm enabled auto-merge (squash) August 19, 2026 10:26
@arsenm
arsenm merged commit 5f6a32e into main Aug 19, 2026
14 of 16 checks passed
@arsenm
arsenm deleted the users/arsenm/sparc-unsupported-libcall-generic-codegen-tests branch August 19, 2026 11:08
kieroxide pushed a commit to kieroxide/llvm-project that referenced this pull request Aug 21, 2026
…7264)

The module doesn't get the triple set without any target argument,
so the assumed set of libcalls is empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant