Include what you use in HexagonMCCompound.cpp
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 3 Jun 2019 11:20:48 +0000 (11:20 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 3 Jun 2019 11:20:48 +0000 (11:20 +0000)
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).

llvm-svn: 362385

llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp

index f9c046b..ed57118 100644 (file)
@@ -10,7 +10,6 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "Hexagon.h"
 #include "MCTargetDesc/HexagonBaseInfo.h"
 #include "MCTargetDesc/HexagonMCInstrInfo.h"
 #include "MCTargetDesc/HexagonMCShuffler.h"