diff options
| author | David Blaikie <dblaikie@gmail.com> | 2017-11-17 01:07:10 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2017-11-17 01:07:10 +0000 |
| commit | b3bde2ea50decc455f3b2fff02e49351e4209d92 (patch) | |
| tree | 7f848414778fd36479abf3669c0d1ebcaf12b343 /llvm/lib/Target/WebAssembly | |
| parent | bd159d32c43732a65a943333d04f46e5d30fb9c5 (diff) | |
| download | bcm5719-llvm-b3bde2ea50decc455f3b2fff02e49351e4209d92.tar.gz bcm5719-llvm-b3bde2ea50decc455f3b2fff02e49351e4209d92.zip | |
Fix a bunch more layering of CodeGen headers that are in Target
All these headers already depend on CodeGen headers so moving them into
CodeGen fixes the layering (since CodeGen depends on Target, not the
other way around).
llvm-svn: 318490
Diffstat (limited to 'llvm/lib/Target/WebAssembly')
4 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp b/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp index f31dde0ce48..c3f0f278714 100644 --- a/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp +++ b/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp @@ -18,6 +18,7 @@ #include "WebAssemblyMachineFunctionInfo.h" #include "llvm/ADT/SmallSet.h" #include "llvm/ADT/StringExtras.h" +#include "llvm/CodeGen/TargetRegisterInfo.h" #include "llvm/MC/MCExpr.h" #include "llvm/MC/MCInst.h" #include "llvm/MC/MCInstrInfo.h" @@ -25,7 +26,6 @@ #include "llvm/MC/MCSymbol.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/FormattedStream.h" -#include "llvm/Target/TargetRegisterInfo.h" using namespace llvm; #define DEBUG_TYPE "asm-printer" diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h index a998ff2b5b5..9f1e5384e12 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h @@ -16,7 +16,7 @@ #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYISELLOWERING_H #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYISELLOWERING_H -#include "llvm/Target/TargetLowering.h" +#include "llvm/CodeGen/TargetLowering.h" namespace llvm { diff --git a/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h b/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h index a69989dd955..8ca04543d5e 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h @@ -20,7 +20,7 @@ #include "WebAssemblyISelLowering.h" #include "WebAssemblyInstrInfo.h" #include "WebAssemblySelectionDAGInfo.h" -#include "llvm/Target/TargetSubtargetInfo.h" +#include "llvm/CodeGen/TargetSubtargetInfo.h" #include <string> #define GET_SUBTARGETINFO_HEADER diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp index b3ce4bd2746..2e002781f43 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp @@ -14,8 +14,8 @@ //===----------------------------------------------------------------------===// #include "WebAssemblyTargetTransformInfo.h" +#include "llvm/CodeGen/CostTable.h" #include "llvm/Support/Debug.h" -#include "llvm/Target/CostTable.h" using namespace llvm; #define DEBUG_TYPE "wasmtti" |

