diff options
| -rw-r--r-- | llvm/include/llvm/CodeGen/TargetOpcodes.h | 2 | ||||
| -rw-r--r-- | llvm/include/llvm/Support/TargetOpcodes.def (renamed from llvm/include/llvm/CodeGen/TargetOpcodes.def) | 2 | ||||
| -rw-r--r-- | llvm/include/llvm/module.modulemap | 2 | ||||
| -rw-r--r-- | llvm/utils/TableGen/CodeGenTarget.cpp | 2 | 
4 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/CodeGen/TargetOpcodes.h b/llvm/include/llvm/CodeGen/TargetOpcodes.h index 3ca31a97094..d0d959c4ae1 100644 --- a/llvm/include/llvm/CodeGen/TargetOpcodes.h +++ b/llvm/include/llvm/CodeGen/TargetOpcodes.h @@ -22,7 +22,7 @@ namespace TargetOpcode {  enum {  #define HANDLE_TARGET_OPCODE(OPC) OPC,  #define HANDLE_TARGET_OPCODE_MARKER(IDENT, OPC) IDENT = OPC, -#include "llvm/CodeGen/TargetOpcodes.def" +#include "llvm/Support/TargetOpcodes.def"  };  } // end namespace TargetOpcode diff --git a/llvm/include/llvm/CodeGen/TargetOpcodes.def b/llvm/include/llvm/Support/TargetOpcodes.def index 00bfbee8e33..0614a003252 100644 --- a/llvm/include/llvm/CodeGen/TargetOpcodes.def +++ b/llvm/include/llvm/Support/TargetOpcodes.def @@ -1,4 +1,4 @@ -//===-- llvm/CodeGen/TargetOpcodes.def - Target Indep Opcodes ---*- C++ -*-===// +//===-- llvm/Support/TargetOpcodes.def - Target Indep Opcodes ---*- C++ -*-===//  //  //                     The LLVM Compiler Infrastructure  // diff --git a/llvm/include/llvm/module.modulemap b/llvm/include/llvm/module.modulemap index 20c85167593..0836dba1d87 100644 --- a/llvm/include/llvm/module.modulemap +++ b/llvm/include/llvm/module.modulemap @@ -28,7 +28,6 @@ module LLVM_Backend {      textual header "CodeGen/CommandFlags.def"      textual header "CodeGen/DIEValue.def"      textual header "CodeGen/RuntimeLibcalls.def" -    textual header "CodeGen/TargetOpcodes.def"    }    module Target { @@ -303,6 +302,7 @@ module LLVM_Utils {      // These are intended for textual inclusion.      textual header "Support/ARMTargetParser.def"      textual header "Support/AArch64TargetParser.def" +    textual header "Support/TargetOpcodes.def"      textual header "Support/X86TargetParser.def"    } diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp index 41f0e04c28f..32dd8d5fc65 100644 --- a/llvm/utils/TableGen/CodeGenTarget.cpp +++ b/llvm/utils/TableGen/CodeGenTarget.cpp @@ -351,7 +351,7 @@ GetInstByName(const char *Name,  static const char *const FixedInstrs[] = {  #define HANDLE_TARGET_OPCODE(OPC) #OPC, -#include "llvm/CodeGen/TargetOpcodes.def" +#include "llvm/Support/TargetOpcodes.def"      nullptr};  unsigned CodeGenTarget::getNumFixedInstructions() {  | 

