From: Dmitri Gribenko Date: Mon, 3 Jun 2019 11:20:48 +0000 (+0000) Subject: Include what you use in HexagonMCCompound.cpp X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bada9a37bee550d5ccdc5643f739e770568a34a;p=llvm Include what you use in HexagonMCCompound.cpp HexagonMCCompound.cpp was not using any APIs from Hexagon.h. Doing so is problematic from include-what-you-use perspective, but it is also a layering issue (it creates a dependency cycle between the primary Hexagon target library and the MCTargetDesc library). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362385 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp b/lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp index f9c046b7bfa..ed571188c1e 100644 --- a/lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp +++ b/lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp @@ -10,7 +10,6 @@ // //===----------------------------------------------------------------------===// -#include "Hexagon.h" #include "MCTargetDesc/HexagonBaseInfo.h" #include "MCTargetDesc/HexagonMCInstrInfo.h" #include "MCTargetDesc/HexagonMCShuffler.h"