[llvm] SPARC: Disable generic codegen tests that depend on libcalls (PR #217264)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 19 03:25:35 PDT 2026
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/217264
The module doesn't get the triple set without any target argument,
so the assumed set of libcalls is empty
>From 83826c5e3d705a00ce055f35ad261d1d4bc39eca Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Wed, 19 Aug 2026 12:24:15 +0200
Subject: [PATCH] SPARC: Disable generic codegen tests that depend on libcalls
The module doesn't get the triple set without any target argument,
so the assumed set of libcalls is empty
---
llvm/test/CodeGen/Generic/2008-02-04-Ctlz.ll | 1 +
llvm/test/CodeGen/Generic/llvm-ct-intrinsics.ll | 1 +
2 files changed, 2 insertions(+)
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)
More information about the llvm-commits
mailing list