Bump OSS LLVM to c8de17bca658e62bbf8c33eae839e457332e885e
Remove FxpMathOps dialect and Quantizer tool from BUILD files PiperOrigin-RevId: 305359173 Change-Id: I6420c2d3d18c4168e6f0e8147595d9bc497a81d6
This commit is contained in:
parent
4e711674de
commit
adf2506341
@ -591,8 +591,8 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
|
||||
)
|
||||
|
||||
# Check out LLVM and MLIR from llvm-project.
|
||||
LLVM_COMMIT = "448b777b864a312e3b2ceae1e0cd59752a1fe90e"
|
||||
LLVM_SHA256 = "852a7e4a8ce5e3385368665ae3091548e58fde0c012b66950c0151fb7942a118"
|
||||
LLVM_COMMIT = "c8de17bca658e62bbf8c33eae839e457332e885e"
|
||||
LLVM_SHA256 = "a1a4b06037c7b19a5f9414fee9626252e4de3e9d9461c8095cc569ee25d647a3"
|
||||
LLVM_URLS = [
|
||||
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT),
|
||||
"https://github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT),
|
||||
|
145
third_party/mlir/BUILD
vendored
145
third_party/mlir/BUILD
vendored
@ -2356,7 +2356,6 @@ cc_library(
|
||||
":NVVMDialect",
|
||||
":Parser",
|
||||
":Pass",
|
||||
":QuantizerTransforms",
|
||||
":StandardToSPIRVConversions",
|
||||
":StandardToStandard",
|
||||
":Support",
|
||||
@ -2412,8 +2411,6 @@ cc_library(
|
||||
":AffineTransforms",
|
||||
":CFGTransforms",
|
||||
":ConversionPassIncGen",
|
||||
":FxpMathOps",
|
||||
":FxpMathPassIncGen",
|
||||
":GPUDialect",
|
||||
":GPUPassIncGen",
|
||||
":GPUToCUDATransforms",
|
||||
@ -2441,8 +2438,6 @@ cc_library(
|
||||
":OpenMPDialect",
|
||||
":QuantOps",
|
||||
":QuantPassIncGen",
|
||||
":QuantizerPassIncGen",
|
||||
":QuantizerTransforms",
|
||||
":ROCDLDialect",
|
||||
":SDBM",
|
||||
":SPIRVDialect",
|
||||
@ -2489,7 +2484,6 @@ cc_binary(
|
||||
name = "mlir-opt",
|
||||
deps = [
|
||||
":Analysis",
|
||||
":FxpMathOps",
|
||||
":IR",
|
||||
":LoopsToGPUPass",
|
||||
":MlirOptLib",
|
||||
@ -2790,85 +2784,6 @@ cc_library(
|
||||
],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "FxpMathOpsTdFiles",
|
||||
srcs = [
|
||||
"include/mlir/Dialect/FxpMathOps/FxpMathOps.td",
|
||||
"include/mlir/Dialect/Quant/QuantOpsBase.td",
|
||||
"include/mlir/Interfaces/SideEffects.td",
|
||||
":OpBaseTdFiles",
|
||||
],
|
||||
)
|
||||
|
||||
## FxpMathOps dialect
|
||||
gentbl(
|
||||
name = "FxpMathOpsIncGen",
|
||||
strip_include_prefix = "include",
|
||||
tbl_outs = [
|
||||
(
|
||||
"-gen-op-decls",
|
||||
"include/mlir/Dialect/FxpMathOps/FxpMathOps.h.inc",
|
||||
),
|
||||
(
|
||||
"-gen-op-defs",
|
||||
"include/mlir/Dialect/FxpMathOps/FxpMathOps.cpp.inc",
|
||||
),
|
||||
(
|
||||
"-gen-dialect-decls -dialect=fxpmath",
|
||||
"include/mlir/Dialect/FxpMathOps/FxpMathOpsDialect.h.inc",
|
||||
),
|
||||
(
|
||||
"-gen-op-doc",
|
||||
"g3doc/Dialects/FxpMathOps/FxpMathOps.md",
|
||||
),
|
||||
],
|
||||
tblgen = ":mlir-tblgen",
|
||||
td_file = "include/mlir/Dialect/FxpMathOps/FxpMathOps.td",
|
||||
td_srcs = [
|
||||
":FxpMathOpsTdFiles",
|
||||
],
|
||||
)
|
||||
|
||||
gentbl(
|
||||
name = "FxpMathPassIncGen",
|
||||
strip_include_prefix = "include",
|
||||
tbl_outs = [
|
||||
(
|
||||
"-gen-pass-decls",
|
||||
"include/mlir/Dialect/FxpMathOps/Passes.h.inc",
|
||||
),
|
||||
],
|
||||
tblgen = ":mlir-tblgen",
|
||||
td_file = "include/mlir/Dialect/FxpMathOps/Passes.td",
|
||||
td_srcs = [
|
||||
":PassBaseTdFiles",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "FxpMathOps",
|
||||
srcs = [
|
||||
"lib/Dialect/FxpMathOps/IR/FxpMathOps.cpp",
|
||||
"lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp",
|
||||
"lib/Dialect/FxpMathOps/Transforms/UniformKernelUtils.h",
|
||||
],
|
||||
hdrs = [
|
||||
"include/mlir/Dialect/FxpMathOps/FxpMathOps.h",
|
||||
"include/mlir/Dialect/FxpMathOps/Passes.h",
|
||||
],
|
||||
includes = ["include"],
|
||||
deps = [
|
||||
":FxpMathOpsIncGen",
|
||||
":FxpMathPassIncGen",
|
||||
":IR",
|
||||
":Pass",
|
||||
":QuantOps",
|
||||
":SideEffects",
|
||||
":StandardOps",
|
||||
"@llvm-project//llvm:support",
|
||||
],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "LinalgOpsTdFiles",
|
||||
srcs = [
|
||||
@ -3135,66 +3050,6 @@ cc_library(
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "QuantizerSupportLib",
|
||||
srcs = glob([
|
||||
"lib/Quantizer/Configurations/*.cpp",
|
||||
"lib/Quantizer/Support/*.cpp",
|
||||
"lib/Quantizer/Configurations/*.h",
|
||||
"lib/Quantizer/Support/*.h",
|
||||
]),
|
||||
hdrs = glob([
|
||||
"include/mlir/Quantizer/Configurations/*.h",
|
||||
"include/mlir/Quantizer/Support/*.h",
|
||||
]),
|
||||
includes = ["include"],
|
||||
deps = [
|
||||
":FxpMathOps",
|
||||
":IR",
|
||||
":QuantOps",
|
||||
":StandardOps",
|
||||
":Support",
|
||||
"@llvm-project//llvm:support",
|
||||
],
|
||||
)
|
||||
|
||||
gentbl(
|
||||
name = "QuantizerPassIncGen",
|
||||
strip_include_prefix = "include",
|
||||
tbl_outs = [
|
||||
(
|
||||
"-gen-pass-decls",
|
||||
"include/mlir/Quantizer/Transforms/Passes.h.inc",
|
||||
),
|
||||
],
|
||||
tblgen = ":mlir-tblgen",
|
||||
td_file = "include/mlir/Quantizer/Transforms/Passes.td",
|
||||
td_srcs = [
|
||||
":PassBaseTdFiles",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "QuantizerTransforms",
|
||||
srcs = glob([
|
||||
"lib/Quantizer/Transforms/*.cpp",
|
||||
"lib/Quantizer/Transforms/*.h",
|
||||
]),
|
||||
hdrs = glob([
|
||||
"include/mlir/Quantizer/Transforms/*.h",
|
||||
]),
|
||||
includes = ["include"],
|
||||
deps = [
|
||||
":IR",
|
||||
":Pass",
|
||||
":QuantOps",
|
||||
":QuantizerPassIncGen",
|
||||
":QuantizerSupportLib",
|
||||
":Support",
|
||||
"@llvm-project//llvm:support",
|
||||
],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "VectorOpsTdFiles",
|
||||
srcs = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user