Include what you use in LanaiMCCodeEmitter.cpp
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 3 Jun 2019 12:42:48 +0000 (12:42 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 3 Jun 2019 12:42:48 +0000 (12:42 +0000)
commit2f66316c9688830056df8b10b1ed0651154182c7
tree3d62e5a70fb46bf6f5f59508a7f1677c96e03450
parent9c78db6005370b779a41f6914cad46d4f5a992ea
Include what you use in LanaiMCCodeEmitter.cpp

LanaiMCCodeEmitter.cpp was not using any APIs from Lanai.h, and was only
including it for transitive dependencies.  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 Lanai target library and
the MCTargetDesc library).

llvm-svn: 362394
llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp