[Mlir-commits] [mlir] ea2b79d - Try to fix CodeGenTypes issues in mlir

NAKAMURA Takumi llvmlistbot at llvm.org
Tue May 2 08:59:20 PDT 2023


Author: NAKAMURA Takumi
Date: 2023-05-03T00:58:57+09:00
New Revision: ea2b79d48d71fa0fa1f4caf31a145d5facf67da7

URL: https://github.com/llvm/llvm-project/commit/ea2b79d48d71fa0fa1f4caf31a145d5facf67da7
DIFF: https://github.com/llvm/llvm-project/commit/ea2b79d48d71fa0fa1f4caf31a145d5facf67da7.diff

LOG: Try to fix CodeGenTypes issues in mlir

Added: 
    

Modified: 
    mlir/tools/mlir-tblgen/CMakeLists.txt
    mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp
    utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Removed: 
    


################################################################################
diff  --git a/mlir/tools/mlir-tblgen/CMakeLists.txt b/mlir/tools/mlir-tblgen/CMakeLists.txt
index 0835b6d27c71a..0d9ece2f061e7 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 71bd51394c6eb..4fa037aafde78 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"

diff  --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 7ed2f9ade9378..08aea6d0555c6 100644
--- 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",


        


More information about the Mlir-commits mailing list