]> granicus.if.org Git - llvm/commitdiff
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).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362385 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp

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