projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea6ecdb
)
Try to fix CodeGenTypes issues in mlir
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 2 May 2023 15:42:24 +0000
(
00:42
+0900)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 2 May 2023 15:58:57 +0000
(
00:58
+0900)
mlir/tools/mlir-tblgen/CMakeLists.txt
patch
|
blob
|
history
mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp
patch
|
blob
|
history
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
patch
|
blob
|
history
diff --git
a/mlir/tools/mlir-tblgen/CMakeLists.txt
b/mlir/tools/mlir-tblgen/CMakeLists.txt
index
0835b6d
..
0d9ece2
100644
(file)
--- 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
71bd513
..
4fa037a
100644
(file)
--- 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"
diff --git
a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index
7ed2f9a
..
08aea6d
100644
(file)
--- a/
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@
-7855,6
+7855,7
@@
cc_binary(
":MlirTableGenMain",
":Support",
":TableGen",
+ "//llvm:CodeGenTypes",
"//llvm:Support",
"//llvm:TableGen",
"//llvm:TargetParser",