[llvm] 4b3078e - [CodeGen] Remove unnecessary includes (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 17 09:09:46 PST 2023
Author: Kazu Hirata
Date: 2023-12-17T09:09:38-08:00
New Revision: 4b3078ef2d8b4ce833c2b493421486bb25802b32
URL: https://github.com/llvm/llvm-project/commit/4b3078ef2d8b4ce833c2b493421486bb25802b32
DIFF: https://github.com/llvm/llvm-project/commit/4b3078ef2d8b4ce833c2b493421486bb25802b32.diff
LOG: [CodeGen] Remove unnecessary includes (NFC)
Added:
Modified:
llvm/include/llvm/CodeGen/AntiDepBreaker.h
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
llvm/lib/CodeGen/MachineStableHash.cpp
llvm/unittests/CodeGen/DwarfStringPoolEntryRefTest.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/AntiDepBreaker.h b/llvm/include/llvm/CodeGen/AntiDepBreaker.h
index c5c2b574861370..eba642684c95c6 100644
--- a/llvm/include/llvm/CodeGen/AntiDepBreaker.h
+++ b/llvm/include/llvm/CodeGen/AntiDepBreaker.h
@@ -19,7 +19,6 @@
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Support/Compiler.h"
-#include <cassert>
#include <utility>
#include <vector>
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index 2faa057f46073c..dc772bb459c956 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@ -25,7 +25,6 @@
#include "llvm/CodeGen/LexicalScopes.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/Support/Casting.h"
-#include <cassert>
#include <cstdint>
#include <memory>
diff --git a/llvm/lib/CodeGen/MachineStableHash.cpp b/llvm/lib/CodeGen/MachineStableHash.cpp
index debb2b3809e3f7..1cd90474898e77 100644
--- a/llvm/lib/CodeGen/MachineStableHash.cpp
+++ b/llvm/lib/CodeGen/MachineStableHash.cpp
@@ -14,7 +14,6 @@
#include "llvm/CodeGen/MachineStableHash.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/APInt.h"
-#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
diff --git a/llvm/unittests/CodeGen/DwarfStringPoolEntryRefTest.cpp b/llvm/unittests/CodeGen/DwarfStringPoolEntryRefTest.cpp
index 25db003ea81deb..8e82d11732e254 100644
--- a/llvm/unittests/CodeGen/DwarfStringPoolEntryRefTest.cpp
+++ b/llvm/unittests/CodeGen/DwarfStringPoolEntryRefTest.cpp
@@ -12,7 +12,6 @@
#include "gmock/gmock.h"
#include "gtest/gtest.h"
-#include <string>
using namespace llvm;
More information about the llvm-commits
mailing list