Skip to content

Commit

Permalink
[bazel] Port llvm#95942 (llvm#96334)
Browse files Browse the repository at this point in the history
  • Loading branch information
keith authored and angelz913 committed Jun 21, 2024
1 parent 17174f5 commit 05e3453
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,7 @@ mlir_c_api_cc_library(
includes = ["include"],
deps = [
":ConversionPasses",
":ConvertToSPIRV",
":Pass",
],
)
Expand Down Expand Up @@ -4200,6 +4201,7 @@ cc_library(
":ControlFlowToSPIRV",
":ConversionPassIncGen",
":ConvertToLLVM",
":ConvertToSPIRV",
":FuncToEmitC",
":FuncToLLVM",
":FuncToSPIRV",
Expand Down Expand Up @@ -8209,6 +8211,32 @@ cc_library(
],
)

cc_library(
name = "ConvertToSPIRV",
srcs = ["lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp"],
hdrs = ["include/mlir/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.h"],
includes = ["include"],
deps = [
":ArithToSPIRV",
":ArithTransforms",
":ConversionPassIncGen",
":FuncToSPIRV",
":IR",
":IndexToSPIRV",
":Pass",
":Rewrite",
":SCFToSPIRV",
":SPIRVConversion",
":SPIRVDialect",
":SPIRVTransforms",
":TransformUtils",
":Transforms",
":UBToSPIRV",
":VectorToSPIRV",
":VectorTransforms",
],
)

cc_library(
name = "ControlFlowToSCF",
srcs = [
Expand Down

0 comments on commit 05e3453

Please sign in to comment.