From: Dmitri Gribenko Date: Mon, 3 Jun 2019 11:41:22 +0000 (+0000) Subject: Include what you use in HexagonInstPrinter.cpp X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8668fc0102a3df25c40ac214017a11d081b6ad40;p=platform%2Fupstream%2Fllvm.git Include what you use in HexagonInstPrinter.cpp HexagonInstPrinter.cpp was not using any APIs from HexagonAsmPrinter.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: 362389 --- diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp index 7adddf1..6b9e63f 100644 --- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp +++ b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp @@ -11,7 +11,6 @@ //===----------------------------------------------------------------------===// #include "HexagonInstPrinter.h" -#include "HexagonAsmPrinter.h" #include "MCTargetDesc/HexagonBaseInfo.h" #include "MCTargetDesc/HexagonMCInstrInfo.h" #include "llvm/MC/MCAsmInfo.h"