aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeGenTarget.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-03-23 23:58:27 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-03-23 23:58:27 +0000
commitb48ba4e6bc33028d7c2167d9fd4bf5c9fb8a83c9 (patch)
tree0e872b5a4575c61dd9034d6357f7ca9289850912 /llvm/utils/TableGen/CodeGenTarget.cpp
parent13e77db2df94b7b959a4965439f2d994d225d908 (diff)
downloadllvm-b48ba4e6bc33028d7c2167d9fd4bf5c9fb8a83c9.zip
llvm-b48ba4e6bc33028d7c2167d9fd4bf5c9fb8a83c9.tar.gz
llvm-b48ba4e6bc33028d7c2167d9fd4bf5c9fb8a83c9.tar.bz2
Fix layering of CodeGen/TargetOpcodes.def by moving it to Support
It's also used by utils/TableGen so needs to reside somewhere common to TableGen and CodeGen. llvm-svn: 328396
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenTarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp
index 41f0e04..32dd8d5 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() {