[llvm] r360484 - [X86] Move InstPrinter files to MCTargetDesc. NFC
Richard Trieu via llvm-commits
llvm-commits at lists.llvm.org
Fri May 10 16:24:38 PDT 2019
Author: rtrieu
Date: Fri May 10 16:24:38 2019
New Revision: 360484
URL: http://llvm.org/viewvc/llvm-project?rev=360484&view=rev
Log:
[X86] Move InstPrinter files to MCTargetDesc. NFC
For some targets, there is a circular dependency between InstPrinter and
MCTargetDesc. Merging them together will fix this. For the other targets,
the merging is to maintain consistency so all targets will have the same
structure.
Added:
llvm/trunk/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
- copied, changed from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
llvm/trunk/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.h
- copied, changed from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h
llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
- copied, changed from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86InstComments.cpp
llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstComments.h
- copied, changed from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86InstComments.h
llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
- copied, changed from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86InstPrinterCommon.cpp
llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.h
- copied, changed from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86InstPrinterCommon.h
llvm/trunk/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp
- copied, changed from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
llvm/trunk/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.h
- copied, changed from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
Removed:
llvm/trunk/lib/Target/X86/InstPrinter/
Modified:
llvm/trunk/lib/Target/X86/AsmParser/LLVMBuild.txt
llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/trunk/lib/Target/X86/AsmParser/X86Operand.h
llvm/trunk/lib/Target/X86/CMakeLists.txt
llvm/trunk/lib/Target/X86/LLVMBuild.txt
llvm/trunk/lib/Target/X86/MCTargetDesc/CMakeLists.txt
llvm/trunk/lib/Target/X86/MCTargetDesc/LLVMBuild.txt
llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCExpr.h
llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
llvm/trunk/lib/Target/X86/X86EvexToVex.cpp
llvm/trunk/lib/Target/X86/X86MCInstLower.cpp
Modified: llvm/trunk/lib/Target/X86/AsmParser/LLVMBuild.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/LLVMBuild.txt?rev=360484&r1=360483&r2=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/LLVMBuild.txt (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/LLVMBuild.txt Fri May 10 16:24:38 2019
@@ -18,5 +18,5 @@
type = Library
name = X86AsmParser
parent = X86
-required_libraries = MC MCParser Support X86Desc X86Info X86AsmPrinter
+required_libraries = MC MCParser Support X86Desc X86Info
add_to_library_groups = X86
Modified: llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp?rev=360484&r1=360483&r2=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp Fri May 10 16:24:38 2019
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#include "InstPrinter/X86IntelInstPrinter.h"
#include "MCTargetDesc/X86BaseInfo.h"
+#include "MCTargetDesc/X86IntelInstPrinter.h"
#include "MCTargetDesc/X86MCExpr.h"
#include "MCTargetDesc/X86TargetStreamer.h"
#include "X86AsmParserCommon.h"
Modified: llvm/trunk/lib/Target/X86/AsmParser/X86Operand.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/X86Operand.h?rev=360484&r1=360483&r2=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86Operand.h (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86Operand.h Fri May 10 16:24:38 2019
@@ -9,7 +9,7 @@
#ifndef LLVM_LIB_TARGET_X86_ASMPARSER_X86OPERAND_H
#define LLVM_LIB_TARGET_X86_ASMPARSER_X86OPERAND_H
-#include "InstPrinter/X86IntelInstPrinter.h"
+#include "MCTargetDesc/X86IntelInstPrinter.h"
#include "MCTargetDesc/X86MCTargetDesc.h"
#include "X86AsmParserCommon.h"
#include "llvm/ADT/STLExtras.h"
Modified: llvm/trunk/lib/Target/X86/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/CMakeLists.txt?rev=360484&r1=360483&r2=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/X86/CMakeLists.txt Fri May 10 16:24:38 2019
@@ -74,7 +74,6 @@ add_llvm_target(X86CodeGen ${sources})
add_subdirectory(AsmParser)
add_subdirectory(Disassembler)
-add_subdirectory(InstPrinter)
add_subdirectory(MCTargetDesc)
add_subdirectory(TargetInfo)
add_subdirectory(Utils)
Modified: llvm/trunk/lib/Target/X86/LLVMBuild.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/LLVMBuild.txt?rev=360484&r1=360483&r2=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/LLVMBuild.txt (original)
+++ llvm/trunk/lib/Target/X86/LLVMBuild.txt Fri May 10 16:24:38 2019
@@ -15,7 +15,7 @@
;===------------------------------------------------------------------------===;
[common]
-subdirectories = AsmParser Disassembler InstPrinter MCTargetDesc TargetInfo Utils
+subdirectories = AsmParser Disassembler MCTargetDesc TargetInfo Utils
[component_0]
type = TargetGroup
@@ -30,5 +30,5 @@ has_jit = 1
type = Library
name = X86CodeGen
parent = X86
-required_libraries = Analysis AsmPrinter CodeGen Core MC SelectionDAG Support Target X86AsmPrinter X86Desc X86Info X86Utils GlobalISel ProfileData
+required_libraries = Analysis AsmPrinter CodeGen Core MC SelectionDAG Support Target X86Desc X86Info X86Utils GlobalISel ProfileData
add_to_library_groups = X86
Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/CMakeLists.txt?rev=360484&r1=360483&r2=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/MCTargetDesc/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/CMakeLists.txt Fri May 10 16:24:38 2019
@@ -1,4 +1,8 @@
add_llvm_library(LLVMX86Desc
+ X86ATTInstPrinter.cpp
+ X86IntelInstPrinter.cpp
+ X86InstComments.cpp
+ X86InstPrinterCommon.cpp
X86AsmBackend.cpp
X86MCTargetDesc.cpp
X86MCAsmInfo.cpp
Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/LLVMBuild.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/LLVMBuild.txt?rev=360484&r1=360483&r2=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/MCTargetDesc/LLVMBuild.txt (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/LLVMBuild.txt Fri May 10 16:24:38 2019
@@ -18,5 +18,5 @@
type = Library
name = X86Desc
parent = X86
-required_libraries = MC MCDisassembler Object Support X86AsmPrinter X86Info
+required_libraries = MC MCDisassembler Object Support X86Info X86Utils
add_to_library_groups = X86
Copied: llvm/trunk/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp (from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp?p2=llvm/trunk/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp&p1=llvm/trunk/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp&r1=360483&r2=360484&rev=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp Fri May 10 16:24:38 2019
@@ -12,7 +12,7 @@
//===----------------------------------------------------------------------===//
#include "X86ATTInstPrinter.h"
-#include "MCTargetDesc/X86BaseInfo.h"
+#include "X86BaseInfo.h"
#include "X86InstComments.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
Copied: llvm/trunk/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.h (from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.h?p2=llvm/trunk/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.h&p1=llvm/trunk/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h&r1=360483&r2=360484&rev=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.h Fri May 10 16:24:38 2019
@@ -10,8 +10,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_LIB_TARGET_X86_INSTPRINTER_X86ATTINSTPRINTER_H
-#define LLVM_LIB_TARGET_X86_INSTPRINTER_X86ATTINSTPRINTER_H
+#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86ATTINSTPRINTER_H
+#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86ATTINSTPRINTER_H
#include "X86InstPrinterCommon.h"
@@ -121,4 +121,4 @@ private:
} // end namespace llvm
-#endif // LLVM_LIB_TARGET_X86_INSTPRINTER_X86ATTINSTPRINTER_H
+#endif // LLVM_LIB_TARGET_X86_MCTARGETDESC_X86ATTINSTPRINTER_H
Copied: llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstComments.cpp (from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86InstComments.cpp)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstComments.cpp?p2=llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstComments.cpp&p1=llvm/trunk/lib/Target/X86/InstPrinter/X86InstComments.cpp&r1=360483&r2=360484&rev=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/InstPrinter/X86InstComments.cpp (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstComments.cpp Fri May 10 16:24:38 2019
@@ -13,8 +13,8 @@
#include "X86InstComments.h"
#include "X86ATTInstPrinter.h"
-#include "MCTargetDesc/X86BaseInfo.h"
-#include "MCTargetDesc/X86MCTargetDesc.h"
+#include "X86BaseInfo.h"
+#include "X86MCTargetDesc.h"
#include "Utils/X86ShuffleDecode.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrInfo.h"
Copied: llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstComments.h (from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86InstComments.h)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstComments.h?p2=llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstComments.h&p1=llvm/trunk/lib/Target/X86/InstPrinter/X86InstComments.h&r1=360483&r2=360484&rev=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/InstPrinter/X86InstComments.h (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstComments.h Fri May 10 16:24:38 2019
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTCOMMENTS_H
-#define LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTCOMMENTS_H
+#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INSTCOMMENTS_H
+#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INSTCOMMENTS_H
namespace llvm {
Copied: llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp (from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86InstPrinterCommon.cpp)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp?p2=llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp&p1=llvm/trunk/lib/Target/X86/InstPrinter/X86InstPrinterCommon.cpp&r1=360483&r2=360484&rev=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/InstPrinter/X86InstPrinterCommon.cpp (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp Fri May 10 16:24:38 2019
@@ -12,7 +12,7 @@
//===----------------------------------------------------------------------===//
#include "X86InstPrinterCommon.h"
-#include "MCTargetDesc/X86BaseInfo.h"
+#include "X86BaseInfo.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrDesc.h"
Copied: llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.h (from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86InstPrinterCommon.h)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.h?p2=llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.h&p1=llvm/trunk/lib/Target/X86/InstPrinter/X86InstPrinterCommon.h&r1=360483&r2=360484&rev=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/InstPrinter/X86InstPrinterCommon.h (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.h Fri May 10 16:24:38 2019
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTPRINTERCOMMON_H
-#define LLVM_LIB_TARGET_X86_INSTPRINTER_X86INSTPRINTERCOMMON_H
+#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INSTPRINTERCOMMON_H
+#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INSTPRINTERCOMMON_H
#include "llvm/MC/MCInstPrinter.h"
@@ -37,4 +37,4 @@ protected:
} // end namespace llvm
-#endif // LLVM_LIB_TARGET_X86_INSTPRINTER_X86ATTINSTPRINTER_H
+#endif // LLVM_LIB_TARGET_X86_MCTARGETDESC_X86ATTINSTPRINTER_H
Copied: llvm/trunk/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp (from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp?p2=llvm/trunk/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp&p1=llvm/trunk/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp&r1=360483&r2=360484&rev=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp Fri May 10 16:24:38 2019
@@ -12,7 +12,7 @@
//===----------------------------------------------------------------------===//
#include "X86IntelInstPrinter.h"
-#include "MCTargetDesc/X86BaseInfo.h"
+#include "X86BaseInfo.h"
#include "X86InstComments.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
Copied: llvm/trunk/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.h (from r360483, llvm/trunk/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.h?p2=llvm/trunk/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.h&p1=llvm/trunk/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h&r1=360483&r2=360484&rev=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.h Fri May 10 16:24:38 2019
@@ -10,8 +10,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_LIB_TARGET_X86_INSTPRINTER_X86INTELINSTPRINTER_H
-#define LLVM_LIB_TARGET_X86_INSTPRINTER_X86INTELINSTPRINTER_H
+#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INTELINSTPRINTER_H
+#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INTELINSTPRINTER_H
#include "X86InstPrinterCommon.h"
#include "llvm/Support/raw_ostream.h"
@@ -141,4 +141,4 @@ public:
} // end namespace llvm
-#endif // LLVM_LIB_TARGET_X86_INSTPRINTER_X86INTELINSTPRINTER_H
+#endif // LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INTELINSTPRINTER_H
Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCExpr.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCExpr.h?rev=360484&r1=360483&r2=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCExpr.h (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCExpr.h Fri May 10 16:24:38 2019
@@ -14,7 +14,7 @@
#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCEXPR_H
#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCEXPR_H
-#include "InstPrinter/X86ATTInstPrinter.h"
+#include "X86ATTInstPrinter.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp?rev=360484&r1=360483&r2=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp Fri May 10 16:24:38 2019
@@ -11,9 +11,9 @@
//===----------------------------------------------------------------------===//
#include "X86MCTargetDesc.h"
-#include "InstPrinter/X86ATTInstPrinter.h"
-#include "InstPrinter/X86IntelInstPrinter.h"
+#include "X86ATTInstPrinter.h"
#include "X86BaseInfo.h"
+#include "X86IntelInstPrinter.h"
#include "X86MCAsmInfo.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/Triple.h"
Modified: llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp?rev=360484&r1=360483&r2=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp Fri May 10 16:24:38 2019
@@ -12,7 +12,7 @@
//===----------------------------------------------------------------------===//
#include "X86AsmPrinter.h"
-#include "InstPrinter/X86ATTInstPrinter.h"
+#include "MCTargetDesc/X86ATTInstPrinter.h"
#include "MCTargetDesc/X86BaseInfo.h"
#include "MCTargetDesc/X86TargetStreamer.h"
#include "X86InstrInfo.h"
Modified: llvm/trunk/lib/Target/X86/X86EvexToVex.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86EvexToVex.cpp?rev=360484&r1=360483&r2=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86EvexToVex.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86EvexToVex.cpp Fri May 10 16:24:38 2019
@@ -19,8 +19,8 @@
//
//===----------------------------------------------------------------------===//
-#include "InstPrinter/X86InstComments.h"
#include "MCTargetDesc/X86BaseInfo.h"
+#include "MCTargetDesc/X86InstComments.h"
#include "X86.h"
#include "X86InstrInfo.h"
#include "X86Subtarget.h"
Modified: llvm/trunk/lib/Target/X86/X86MCInstLower.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86MCInstLower.cpp?rev=360484&r1=360483&r2=360484&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86MCInstLower.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86MCInstLower.cpp Fri May 10 16:24:38 2019
@@ -11,9 +11,9 @@
//
//===----------------------------------------------------------------------===//
-#include "InstPrinter/X86ATTInstPrinter.h"
-#include "InstPrinter/X86InstComments.h"
+#include "MCTargetDesc/X86ATTInstPrinter.h"
#include "MCTargetDesc/X86BaseInfo.h"
+#include "MCTargetDesc/X86InstComments.h"
#include "MCTargetDesc/X86TargetStreamer.h"
#include "Utils/X86ShuffleDecode.h"
#include "X86AsmPrinter.h"
More information about the llvm-commits
mailing list