summaryrefslogtreecommitdiff
path: root/mlir/tools
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2023-05-03 00:42:24 +0900
committerNAKAMURA Takumi <geek4civic@gmail.com>2023-05-03 00:58:57 +0900
commitea2b79d48d71fa0fa1f4caf31a145d5facf67da7 (patch)
treea693f42f1aa5806d92bdc833341c6f63ed3b9c85 /mlir/tools
parentea6ecdbfe09d4318f2d616af794e2930f996e393 (diff)
downloadllvm-ea2b79d48d71fa0fa1f4caf31a145d5facf67da7.tar.gz
Try to fix CodeGenTypes issues in mlir
Diffstat (limited to 'mlir/tools')
-rw-r--r--mlir/tools/mlir-tblgen/CMakeLists.txt1
-rw-r--r--mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/mlir/tools/mlir-tblgen/CMakeLists.txt b/mlir/tools/mlir-tblgen/CMakeLists.txt
index 0835b6d27c71..0d9ece2f061e 100644
--- a/mlir/tools/mlir-tblgen/CMakeLists.txt
+++ b/mlir/tools/mlir-tblgen/CMakeLists.txt
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS
+ CodeGenTypes
Demangle
Support
TableGen
diff --git a/mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp b/mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp
index 71bd51394c6e..4fa037aafde7 100644
--- a/mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp
+++ b/mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp
@@ -14,8 +14,8 @@
#include "mlir/TableGen/GenInfo.h"
#include "llvm/ADT/SmallBitVector.h"
+#include "llvm/CodeGen/MachineValueType.h"
#include "llvm/Support/CommandLine.h"
-#include "llvm/Support/MachineValueType.h"
#include "llvm/Support/PrettyStackTrace.h"
#include "llvm/Support/Regex.h"
#include "llvm/Support/Signals.h"