[llvm] [mlir] adds missing header, removes Bazel unnecessary dependency (PR #110932)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 2 14:47:31 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
@llvm/pr-subscribers-mlir-affine
Author: Christopher Di Bella (cjdb)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/110932.diff
2 Files Affected:
- (modified) mlir/include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h (+1)
- (modified) utils/bazel/llvm-project-overlay/mlir/BUILD.bazel (+20-1)
``````````diff
diff --git a/mlir/include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h b/mlir/include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h
index 451c466fa0c950..51831cb17992ac 100644
--- a/mlir/include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h
+++ b/mlir/include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h
@@ -9,6 +9,7 @@
#ifndef MLIR_DIALECT_AFFINE_IR_VALUEBOUNDSOPINTERFACEIMPL_H
#define MLIR_DIALECT_AFFINE_IR_VALUEBOUNDSOPINTERFACEIMPL_H
+#include <cstdint>
#include "mlir/Support/LLVM.h"
namespace mlir {
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 8340e25352a355..596cecdf2c2ac2 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -3749,10 +3749,10 @@ cc_library(
":BytecodeOpInterface",
":DialectUtils",
":IR",
+ ":MaskableOpInterface",
":ShapedOpInterfaces",
":SideEffectInterfaces",
":VectorDialect",
- ":VectorOpsIncGen",
":ViewLikeInterface",
":XeGPUEnumsIncGen",
":XeGPUIncGen",
@@ -11719,6 +11719,25 @@ gentbl_cc_library(
],
)
+cc_library(
+ name = "VectorOps",
+ hdrs = [
+ "include/mlir/Dialect/Vector/IR/VectorAttributes.h.inc",
+ "include/mlir/Dialect/Vector/IR/VectorDialect.h.inc",
+ "include/mlir/Dialect/Vector/IR/VectorEnums.h.inc",
+ "include/mlir/Dialect/Vector/IR/VectorOps.h",
+ ],
+ includes = ["include"],
+ deps = [
+ ":ArithDialect",
+ ":BytecodeOpInterface",
+ ":MaskableOpInterface",
+ ":VectorAttributesIncGen",
+ ":VectorDialectIncGen",
+ ":VectorOpsIncGen",
+ ],
+)
+
gentbl_cc_library(
name = "VectorAttributesIncGen",
tbl_outs = [
``````````
</details>
https://github.com/llvm/llvm-project/pull/110932
More information about the llvm-commits
mailing list