]> granicus.if.org Git - llvm/commitdiff
Include what you use in HexagonMCCodeEmitter.cpp
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 3 Jun 2019 11:20:53 +0000 (11:20 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 3 Jun 2019 11:20:53 +0000 (11:20 +0000)
HexagonMCCodeEmitter.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@362386 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp

index 84b9a05b1db9f1c411ad08ed2225177b68597b4c..95e23c99868a484fcf7fd352c0863a3c1b25042d 100644 (file)
@@ -7,7 +7,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "MCTargetDesc/HexagonMCCodeEmitter.h"
-#include "Hexagon.h"
 #include "MCTargetDesc/HexagonBaseInfo.h"
 #include "MCTargetDesc/HexagonFixupKinds.h"
 #include "MCTargetDesc/HexagonMCExpr.h"