[llvm] r362423 - Include what you use in Lanai.h
Dmitri Gribenko via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 10:02:15 PDT 2019
Author: gribozavr
Date: Mon Jun 3 10:02:15 2019
New Revision: 362423
URL: http://llvm.org/viewvc/llvm-project?rev=362423&view=rev
Log:
Include what you use in Lanai.h
Other files were not relying on these transitive includes, so I'm
submitting this change separately.
Modified:
llvm/trunk/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
llvm/trunk/lib/Target/Lanai/Lanai.h
llvm/trunk/lib/Target/Lanai/LanaiFrameLowering.cpp
Modified: llvm/trunk/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp?rev=362423&r1=362422&r2=362423&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp Mon Jun 3 10:02:15 2019
@@ -9,6 +9,7 @@
#include "Lanai.h"
#include "LanaiAluCode.h"
#include "LanaiCondCode.h"
+#include "LanaiInstrInfo.h"
#include "MCTargetDesc/LanaiMCExpr.h"
#include "TargetInfo/LanaiTargetInfo.h"
#include "llvm/ADT/STLExtras.h"
Modified: llvm/trunk/lib/Target/Lanai/Lanai.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Lanai/Lanai.h?rev=362423&r1=362422&r2=362423&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Lanai/Lanai.h (original)
+++ llvm/trunk/lib/Target/Lanai/Lanai.h Mon Jun 3 10:02:15 2019
@@ -14,12 +14,7 @@
#ifndef LLVM_LIB_TARGET_LANAI_LANAI_H
#define LLVM_LIB_TARGET_LANAI_LANAI_H
-#include "LanaiAluCode.h"
-#include "LanaiCondCode.h"
-#include "MCTargetDesc/LanaiBaseInfo.h"
-#include "MCTargetDesc/LanaiMCTargetDesc.h"
-#include "llvm/CodeGen/ISDOpcodes.h"
-#include "llvm/Target/TargetMachine.h"
+#include "llvm/Pass.h"
namespace llvm {
class FunctionPass;
Modified: llvm/trunk/lib/Target/Lanai/LanaiFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Lanai/LanaiFrameLowering.cpp?rev=362423&r1=362422&r2=362423&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Lanai/LanaiFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/Lanai/LanaiFrameLowering.cpp Mon Jun 3 10:02:15 2019
@@ -12,6 +12,7 @@
#include "LanaiFrameLowering.h"
+#include "LanaiAluCode.h"
#include "LanaiInstrInfo.h"
#include "LanaiSubtarget.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
More information about the llvm-commits
mailing list