[llvm] [RISCV] Remove unused include in RISCVMCTargetDesc.h (PR #98790)

Tristan Ross via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 13 19:51:27 PDT 2024


https://github.com/RossComputerGuy created https://github.com/llvm/llvm-project/pull/98790

Goes in hand with #97130, split out to figure out CI fails.

>From f0c14a1360cc006fea6e35546090a2bf57893e69 Mon Sep 17 00:00:00 2001
From: pca006132 <john.lck40 at gmail.com>
Date: Mon, 1 Apr 2024 00:54:54 +0800
Subject: [PATCH] [RISCV] Remove unused include in RISCVMCTargetDesc.h

Needed for standalone BOLT build
---
 llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.h b/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.h
index d4aa0fe99078e..6cc22af601fdb 100644
--- a/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.h
+++ b/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.h
@@ -13,7 +13,6 @@
 #ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCTARGETDESC_H
 #define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCTARGETDESC_H
 
-#include "llvm/Config/config.h"
 #include "llvm/MC/MCTargetOptions.h"
 #include "llvm/Support/DataTypes.h"
 #include <memory>



More information about the llvm-commits mailing list