git: 442d351bd242 - main - libllvm: add missed tlbgen headers and sources for BPF target

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Wed, 10 Apr 2024 22:10:30 UTC
The branch main has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=442d351bd242d14b1c0bb67cd048ac022f2e82ad

commit 442d351bd242d14b1c0bb67cd048ac022f2e82ad
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-04-10 22:10:07 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-04-10 22:10:13 +0000

    libllvm: add missed tlbgen headers and sources for BPF target
    
    Noticed by:     vishwin
    PR:             276104
    MFC after:      1 month
---
 lib/clang/libllvm/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile
index 5dc864fabbcd..528551aab852 100644
--- a/lib/clang/libllvm/Makefile
+++ b/lib/clang/libllvm/Makefile
@@ -1393,12 +1393,17 @@ SRCS_MIN+=	Target/BPF/BPFMIChecking.cpp
 SRCS_MIN+=	Target/BPF/BPFMIPeephole.cpp
 SRCS_MIN+=	Target/BPF/BPFMISimplifyPatchable.cpp
 SRCS_MIN+=	Target/BPF/BPFPreserveDIType.cpp
+SRCS_MIN+=	Target/BPF/BPFPreserveStaticOffset.cpp
 SRCS_MIN+=	Target/BPF/BPFRegisterInfo.cpp
 SRCS_MIN+=	Target/BPF/BPFSelectionDAGInfo.cpp
 SRCS_MIN+=	Target/BPF/BPFSubtarget.cpp
 SRCS_MIN+=	Target/BPF/BPFTargetMachine.cpp
 SRCS_MIN+=	Target/BPF/BTFDebug.cpp
 SRCS_MIN+=	Target/BPF/Disassembler/BPFDisassembler.cpp
+SRCS_MIN+=	Target/BPF/GISel/BPFCallLowering.cpp
+SRCS_MIN+=	Target/BPF/GISel/BPFInstructionSelector.cpp
+SRCS_MIN+=	Target/BPF/GISel/BPFLegalizerInfo.cpp
+SRCS_MIN+=	Target/BPF/GISel/BPFRegisterBankInfo.cpp
 SRCS_MIN+=	Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
 SRCS_MIN+=	Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
 SRCS_MIN+=	Target/BPF/MCTargetDesc/BPFInstPrinter.cpp
@@ -2199,8 +2204,10 @@ TGHDRS+=	BPFGenAsmWriter.inc
 TGHDRS+=	BPFGenCallingConv.inc
 TGHDRS+=	BPFGenDAGISel.inc
 TGHDRS+=	BPFGenDisassemblerTables.inc
+TGHDRS+=	BPFGenGlobalISel.inc
 TGHDRS+=	BPFGenInstrInfo.inc
 TGHDRS+=	BPFGenMCCodeEmitter.inc
+TGHDRS+=	BPFGenRegisterBank.inc
 TGHDRS+=	BPFGenRegisterInfo.inc
 TGHDRS+=	BPFGenSubtargetInfo.inc
 .endif # MK_LLVM_TARGET_BPF