From nobody Tue May 07 17:05:17 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VYl5V096sz5JFDV; Tue, 07 May 2024 17:05:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VYl5T536cz4Ynl; Tue, 7 May 2024 17:05:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715101517; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NpdOESOeqw0WIUzWB9IvpxmcuIoZtdhRyaA0ZZyd4tQ=; b=KwFGXI4T4wBrIJrURrEXqrHsY7Av9yO2NHNfdishtQJCq2cU9hKgMgIw/7o2xiWJi3lfJX GAQ2qi6rDxoBoCEbBIF4EOHtH91gZKGqWhOLGwTwfNlCC5TAEkdAmCK3x0eSundtcGhxAU l0YTkvzXiCKH7H/J0EBcCuFvlo9ZHdjlxcuw2DrnFBq3de9U1MstCs0XCNznqHyHyQTx1P 9g1EGhiKji0ZQ8Ft4bOtFx4z2r0yD/p/lR52ffbc8agwEUhwDDW/1ksOpSzzQngZj7gass QQa5/7AYtVUb26Iunu6+sM6F09Tn2XunxWNOAXMTDora0w0exlm9gjsYNqjyWg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715101517; a=rsa-sha256; cv=none; b=aeh1tio12NLlrg3VgmsgqGreO5t8Ln5xP+3z+cMykEM1JQfNLxbSZVrfYspodtMyJx3xGF 0ZkD0NiQcuz/F9Ouvm7f63F6actrmQelsr7GCNPEFJTZP1Pd/wnvsdEhhQJOqUTKsUVjXa AXlXpL8Sygi86+UwyPiSda3jeUdm2JJwg5Oy8xDln/MsEPtl50RLODKkp4jsvAjsMJ5P5B ILFKiihgVaE1pj/4YkKU0bZVTnvJW4fBNEd81wxPA2WoDTiiwlTzT2W+0TAFvLLzmPL1ki MHrgpNLEQHTcdTNe8ChJYikwqwdZn7V3A7VjdMCw3Iw37X6CxM7fFNNHsujLkg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715101517; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NpdOESOeqw0WIUzWB9IvpxmcuIoZtdhRyaA0ZZyd4tQ=; b=SXtTGODREXw2vxsXaqlRV6LeXzEIszyZEGNdTrZuryGG4+YJrVOmQUcOuTeGWI5mLxTjom GAHR6yD/84ujnNRF3LqZ2poCNM6bWzTEAXOCDX29y9yUswltGOn4kPHU5tnjDlPHlTm7sR EBZjlpTp0nWCVid/VcSxYnC+1RWy0VuK60zv7Zfr9QJNDCeFR9EzrxxhpCBzAnXGwSkfiG kCoapj/skr05dD8qgkJWRbt4+x0HdUQZi/L16ucFHQvQQ9NKPZWjRyIzkbZH27KkZ5HH7P vNTdH7ApSpTC9c1rzPZYPvRbVBV72V4vnurItJdxCSYZhH6hqCsr427JkqfzcQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VYl5T4gKCzqTB; Tue, 7 May 2024 17:05:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 447H5HN6051626; Tue, 7 May 2024 17:05:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 447H5HDH051623; Tue, 7 May 2024 17:05:17 GMT (envelope-from git) Date: Tue, 7 May 2024 17:05:17 GMT Message-Id: <202405071705.447H5HDH051623@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 0b8cdac883f5 - stable/14 - lib/clang: clean out old llvm/clang Sparc target remnants List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 0b8cdac883f5028c8716aa7442c07c68ac1f780b Auto-Submitted: auto-generated The branch stable/14 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=0b8cdac883f5028c8716aa7442c07c68ac1f780b commit 0b8cdac883f5028c8716aa7442c07c68ac1f780b Author: Dimitry Andric AuthorDate: 2024-05-04 17:34:10 +0000 Commit: Dimitry Andric CommitDate: 2024-05-07 17:04:07 +0000 lib/clang: clean out old llvm/clang Sparc target remnants The WITH_LLVM_TARGET_ENABLE_SPARC option was removed a long time ago, but some ifdefs were still laying around, so clean them up. PR: 276104 MFC after: 3 days (cherry picked from commit 6f444019009a55aac18d18054d154155fbf606c9) --- lib/clang/include/llvm/Config/AsmParsers.def | 3 --- lib/clang/include/llvm/Config/AsmPrinters.def | 3 --- lib/clang/include/llvm/Config/Disassemblers.def | 3 --- lib/clang/include/llvm/Config/Targets.def | 3 --- lib/clang/include/llvm/Config/llvm-config.h | 4 ---- 5 files changed, 16 deletions(-) diff --git a/lib/clang/include/llvm/Config/AsmParsers.def b/lib/clang/include/llvm/Config/AsmParsers.def index afd86d898673..3dccab75a285 100644 --- a/lib/clang/include/llvm/Config/AsmParsers.def +++ b/lib/clang/include/llvm/Config/AsmParsers.def @@ -42,9 +42,6 @@ LLVM_ASM_PARSER(PowerPC) #ifdef LLVM_TARGET_ENABLE_RISCV LLVM_ASM_PARSER(RISCV) #endif -#ifdef LLVM_TARGET_ENABLE_SPARC -LLVM_ASM_PARSER(Sparc) -#endif #ifdef LLVM_TARGET_ENABLE_X86 LLVM_ASM_PARSER(X86) #endif diff --git a/lib/clang/include/llvm/Config/AsmPrinters.def b/lib/clang/include/llvm/Config/AsmPrinters.def index ffcca0730101..649b8353c926 100644 --- a/lib/clang/include/llvm/Config/AsmPrinters.def +++ b/lib/clang/include/llvm/Config/AsmPrinters.def @@ -42,9 +42,6 @@ LLVM_ASM_PRINTER(PowerPC) #ifdef LLVM_TARGET_ENABLE_RISCV LLVM_ASM_PRINTER(RISCV) #endif -#ifdef LLVM_TARGET_ENABLE_SPARC -LLVM_ASM_PRINTER(Sparc) -#endif #ifdef LLVM_TARGET_ENABLE_X86 LLVM_ASM_PRINTER(X86) #endif diff --git a/lib/clang/include/llvm/Config/Disassemblers.def b/lib/clang/include/llvm/Config/Disassemblers.def index 18e29e3a09ff..c44fa4e303e2 100644 --- a/lib/clang/include/llvm/Config/Disassemblers.def +++ b/lib/clang/include/llvm/Config/Disassemblers.def @@ -42,9 +42,6 @@ LLVM_DISASSEMBLER(PowerPC) #ifdef LLVM_TARGET_ENABLE_RISCV LLVM_DISASSEMBLER(RISCV) #endif -#ifdef LLVM_TARGET_ENABLE_SPARC -LLVM_DISASSEMBLER(Sparc) -#endif #ifdef LLVM_TARGET_ENABLE_X86 LLVM_DISASSEMBLER(X86) #endif diff --git a/lib/clang/include/llvm/Config/Targets.def b/lib/clang/include/llvm/Config/Targets.def index 604fd9337048..d3332a51a2cc 100644 --- a/lib/clang/include/llvm/Config/Targets.def +++ b/lib/clang/include/llvm/Config/Targets.def @@ -41,9 +41,6 @@ LLVM_TARGET(PowerPC) #ifdef LLVM_TARGET_ENABLE_RISCV LLVM_TARGET(RISCV) #endif -#ifdef LLVM_TARGET_ENABLE_SPARC -LLVM_TARGET(Sparc) -#endif #ifdef LLVM_TARGET_ENABLE_X86 LLVM_TARGET(X86) #endif diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h index 5ac5d07a3539..049529efdd7f 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -130,11 +130,7 @@ #endif /* Define if the Sparc target is built in */ -#ifdef LLVM_TARGET_ENABLE_SPARC -#define LLVM_HAS_SPARC_TARGET 1 -#else #define LLVM_HAS_SPARC_TARGET 0 -#endif /* Define if the SPIRV target is built in */ #define LLVM_HAS_SPIRV_TARGET 0