Include what you use in HexagonAsmBackend.cpp
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 3 Jun 2019 09:43:05 +0000 (09:43 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 3 Jun 2019 09:43:05 +0000 (09:43 +0000)
HexagonAsmBackend.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: 362372

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

index 57f4860..7c07709 100644 (file)
@@ -6,7 +6,6 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "Hexagon.h"
 #include "HexagonFixupKinds.h"
 #include "MCTargetDesc/HexagonBaseInfo.h"
 #include "MCTargetDesc/HexagonMCChecker.h"