git: e5e6242f62a3 - stable/13 - lib/clang: clean out old llvm/clang Sparc target remnants
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 May 2024 17:06:41 UTC
The branch stable/13 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=e5e6242f62a37e9e20e9cbf0dc61eef0b9cc8602 commit e5e6242f62a37e9e20e9cbf0dc61eef0b9cc8602 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2024-05-04 17:34:10 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-05-07 17:04:30 +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