Update MLIR rev.
PiperOrigin-RevId: 260043634
This commit is contained in:
parent
a879f9b308
commit
6efbd35b2f
45
third_party/mlir/BUILD
vendored
45
third_party/mlir/BUILD
vendored
@ -55,6 +55,7 @@ cc_library(
|
||||
"lib/IR/StandardTypes.cpp",
|
||||
"lib/IR/SymbolTable.cpp",
|
||||
"lib/IR/TypeDetail.h",
|
||||
"lib/IR/TypeUtilities.cpp",
|
||||
"lib/IR/Types.cpp",
|
||||
"lib/IR/Value.cpp",
|
||||
],
|
||||
@ -72,6 +73,7 @@ cc_library(
|
||||
"include/mlir/IR/DialectHooks.h",
|
||||
"include/mlir/IR/DialectSymbolRegistry.def",
|
||||
"include/mlir/IR/Function.h",
|
||||
"include/mlir/IR/FunctionSupport.h",
|
||||
"include/mlir/IR/Identifier.h",
|
||||
"include/mlir/IR/IntegerSet.h",
|
||||
"include/mlir/IR/Location.h",
|
||||
@ -89,6 +91,7 @@ cc_library(
|
||||
"include/mlir/IR/StorageUniquerSupport.h",
|
||||
"include/mlir/IR/SymbolTable.h",
|
||||
"include/mlir/IR/TypeSupport.h",
|
||||
"include/mlir/IR/TypeUtilities.h",
|
||||
"include/mlir/IR/Types.h",
|
||||
"include/mlir/IR/UseDefLists.h",
|
||||
"include/mlir/IR/Value.h",
|
||||
@ -412,21 +415,6 @@ cc_library(
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "TypeUtilities",
|
||||
srcs = [
|
||||
"lib/Support/TypeUtilities.cpp",
|
||||
],
|
||||
hdrs = [
|
||||
"include/mlir/Support/TypeUtilities.h",
|
||||
],
|
||||
includes = ["include"],
|
||||
deps = [
|
||||
":IR",
|
||||
"@llvm//:support",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "Parser",
|
||||
srcs = [
|
||||
@ -474,7 +462,7 @@ cc_library(
|
||||
filegroup(
|
||||
name = "GPUOpsTdFiles",
|
||||
srcs = [
|
||||
"include/mlir/GPU/GPUOps.td",
|
||||
"include/mlir/Dialect/GPU/GPUOps.td",
|
||||
":OpBaseTdFiles",
|
||||
],
|
||||
)
|
||||
@ -484,15 +472,15 @@ gentbl(
|
||||
tbl_outs = [
|
||||
(
|
||||
"-gen-op-decls",
|
||||
"include/mlir/GPU/GPUOps.h.inc",
|
||||
"include/mlir/Dialect/GPU/GPUOps.h.inc",
|
||||
),
|
||||
(
|
||||
"-gen-op-defs",
|
||||
"include/mlir/GPU/GPUOps.cpp.inc",
|
||||
"include/mlir/Dialect/GPU/GPUOps.cpp.inc",
|
||||
),
|
||||
],
|
||||
tblgen = ":mlir-tblgen",
|
||||
td_file = "include/mlir/GPU/GPUOps.td",
|
||||
td_file = "include/mlir/Dialect/GPU/GPUOps.td",
|
||||
td_srcs = [
|
||||
":GPUOpsTdFiles",
|
||||
],
|
||||
@ -500,8 +488,8 @@ gentbl(
|
||||
|
||||
cc_library(
|
||||
name = "GPUDialect",
|
||||
srcs = ["lib/GPU/IR/GPUDialect.cpp"],
|
||||
hdrs = ["include/mlir/GPU/GPUDialect.h"],
|
||||
srcs = ["lib/Dialect/GPU/IR/GPUDialect.cpp"],
|
||||
hdrs = ["include/mlir/Dialect/GPU/GPUDialect.h"],
|
||||
includes = ["include"],
|
||||
deps = [
|
||||
":GPUOpsIncGen",
|
||||
@ -513,7 +501,7 @@ cc_library(
|
||||
|
||||
cc_library(
|
||||
name = "GPUDialectRegistration",
|
||||
srcs = ["lib/GPU/IR/DialectRegistration.cpp"],
|
||||
srcs = ["lib/Dialect/GPU/IR/DialectRegistration.cpp"],
|
||||
includes = ["include"],
|
||||
deps = [
|
||||
":GPUDialect",
|
||||
@ -523,8 +511,8 @@ cc_library(
|
||||
|
||||
cc_library(
|
||||
name = "GPUTransforms",
|
||||
srcs = ["lib/GPU/Transforms/KernelOutlining.cpp"],
|
||||
hdrs = ["include/mlir/GPU/Passes.h"],
|
||||
srcs = ["lib/Dialect/GPU/Transforms/KernelOutlining.cpp"],
|
||||
hdrs = ["include/mlir/Dialect/GPU/Passes.h"],
|
||||
includes = ["include"],
|
||||
deps = [
|
||||
":GPUDialect",
|
||||
@ -770,10 +758,10 @@ gentbl(
|
||||
)
|
||||
|
||||
gentbl(
|
||||
name = "SPIRVSerializationIncGen",
|
||||
name = "SPIRVSerializationGen",
|
||||
tbl_outs = [
|
||||
(
|
||||
"-gen-spirv-serial",
|
||||
"-gen-spirv-serialization",
|
||||
"include/mlir/Dialect/SPIRV/SPIRVSerialization.inc",
|
||||
),
|
||||
],
|
||||
@ -816,6 +804,7 @@ cc_library(
|
||||
cc_library(
|
||||
name = "SPIRVConversions",
|
||||
srcs = [
|
||||
"include/mlir/Conversion/StandardToSPIRV/StdOpsToSPIRVConversion.h",
|
||||
"lib/Conversion/StandardToSPIRV/StdOpsToSPIRVConversion.cpp",
|
||||
"lib/Conversion/StandardToSPIRV/StdOpsToSPIRVConversion.cpp.inc",
|
||||
],
|
||||
@ -853,7 +842,7 @@ cc_library(
|
||||
deps = [
|
||||
":IR",
|
||||
":SPIRVDialect",
|
||||
":SPIRVSerializationIncGen",
|
||||
":SPIRVSerializationGen",
|
||||
":Support",
|
||||
"@llvm//:support",
|
||||
],
|
||||
@ -944,7 +933,6 @@ cc_library(
|
||||
"lib/Transforms/LoopCoalescing.cpp",
|
||||
"lib/Transforms/LoopFusion.cpp",
|
||||
"lib/Transforms/LoopInvariantCodeMotion.cpp",
|
||||
"lib/Transforms/LoopParametricTiling.cpp",
|
||||
"lib/Transforms/LoopTiling.cpp",
|
||||
"lib/Transforms/LoopUnroll.cpp",
|
||||
"lib/Transforms/LoopUnrollAndJam.cpp",
|
||||
@ -1103,6 +1091,7 @@ cc_library(
|
||||
deps = [
|
||||
":AffineOps",
|
||||
":IR",
|
||||
":LoopOps",
|
||||
":Pass",
|
||||
":StandardOps",
|
||||
":Support",
|
||||
|
4
third_party/mlir/mlir_configure.bzl
vendored
4
third_party/mlir/mlir_configure.bzl
vendored
@ -1,7 +1,7 @@
|
||||
"""Repository rule to setup the external MLIR repository."""
|
||||
|
||||
_MLIR_REV = "83ff81bfd9d382852d0302ab2a234feb2e938fc7"
|
||||
_MLIR_SHA256 = "26979670616980014a823f88c1a057c28080763d9cb189fa67172a92c085d349"
|
||||
_MLIR_REV = "6e0470b5b6f63bbd06f06fbaf342dfc604085111"
|
||||
_MLIR_SHA256 = "c1431ab075fd1e3ce3b5f89e8e7e163bb6b00fdcdeaa6a65ac663e12f7b9aba0"
|
||||
|
||||
def _mlir_autoconf_impl(repository_ctx):
|
||||
"""Implementation of the mlir_configure repository rule."""
|
||||
|
5
third_party/mlir/test/BUILD
vendored
5
third_party/mlir/test/BUILD
vendored
@ -56,11 +56,11 @@ cc_library(
|
||||
deps = [
|
||||
":TestOpsIncGen",
|
||||
"@llvm//:support",
|
||||
"@local_config_mlir//:Dialect",
|
||||
"@local_config_mlir//:IR",
|
||||
"@local_config_mlir//:Pass",
|
||||
"@local_config_mlir//:Support",
|
||||
"@local_config_mlir//:Transforms",
|
||||
"@local_config_mlir//:TypeUtilities",
|
||||
],
|
||||
alwayslink = 1,
|
||||
)
|
||||
@ -70,6 +70,8 @@ cc_library(
|
||||
srcs = [
|
||||
"lib/Transforms/TestConstantFold.cpp",
|
||||
"lib/Transforms/TestLoopFusion.cpp",
|
||||
"lib/Transforms/TestLoopMapping.cpp",
|
||||
"lib/Transforms/TestLoopParametricTiling.cpp",
|
||||
"lib/Transforms/TestVectorizationUtils.cpp",
|
||||
],
|
||||
deps = [
|
||||
@ -78,6 +80,7 @@ cc_library(
|
||||
"@local_config_mlir//:Analysis",
|
||||
"@local_config_mlir//:EDSC",
|
||||
"@local_config_mlir//:IR",
|
||||
"@local_config_mlir//:LoopOps",
|
||||
"@local_config_mlir//:Pass",
|
||||
"@local_config_mlir//:StandardOps",
|
||||
"@local_config_mlir//:Support",
|
||||
|
Loading…
Reference in New Issue
Block a user