[llvm] 4425751 - X86ISelLowering.h - remove unnecessary includes. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 25 12:10:17 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-25T20:07:34+01:00
New Revision: 44257513173427550a882ad040e3e96bd2dca45d
URL: https://github.com/llvm/llvm-project/commit/44257513173427550a882ad040e3e96bd2dca45d
DIFF: https://github.com/llvm/llvm-project/commit/44257513173427550a882ad040e3e96bd2dca45d.diff
LOG: X86ISelLowering.h - remove unnecessary includes. NFC.
Fixed implicit MachineFrameInfo.h dependency in X86SelectionDAGInfo.cpp
Added:
Modified:
llvm/lib/Target/X86/X86ISelLowering.h
llvm/lib/Target/X86/X86SelectionDAGInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ISelLowering.h b/llvm/lib/Target/X86/X86ISelLowering.h
index dc7e75e49a18..71303c3e9efc 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.h
+++ b/llvm/lib/Target/X86/X86ISelLowering.h
@@ -14,8 +14,6 @@
#ifndef LLVM_LIB_TARGET_X86_X86ISELLOWERING_H
#define LLVM_LIB_TARGET_X86_X86ISELLOWERING_H
-#include "llvm/CodeGen/CallingConvLower.h"
-#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/CodeGen/TargetLowering.h"
namespace llvm {
diff --git a/llvm/lib/Target/X86/X86SelectionDAGInfo.cpp b/llvm/lib/Target/X86/X86SelectionDAGInfo.cpp
index 10a2e1c88046..9e92a55dc479 100644
--- a/llvm/lib/Target/X86/X86SelectionDAGInfo.cpp
+++ b/llvm/lib/Target/X86/X86SelectionDAGInfo.cpp
@@ -15,6 +15,7 @@
#include "X86InstrInfo.h"
#include "X86RegisterInfo.h"
#include "X86Subtarget.h"
+#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/IR/DerivedTypes.h"
More information about the llvm-commits
mailing list