Try to fix CodeGenTypes issues in mlir
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 2 May 2023 15:42:24 +0000 (00:42 +0900)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 2 May 2023 15:58:57 +0000 (00:58 +0900)
mlir/tools/mlir-tblgen/CMakeLists.txt
mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

index 0835b6d..0d9ece2 100644 (file)
@@ -1,4 +1,5 @@
 set(LLVM_LINK_COMPONENTS
+  CodeGenTypes
   Demangle
   Support
   TableGen
index 71bd513..4fa037a 100644 (file)
@@ -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"
index 7ed2f9a..08aea6d 100644 (file)
@@ -7855,6 +7855,7 @@ cc_binary(
         ":MlirTableGenMain",
         ":Support",
         ":TableGen",
+        "//llvm:CodeGenTypes",
         "//llvm:Support",
         "//llvm:TableGen",
         "//llvm:TargetParser",