Skip to content

Commit 1eddf35

Browse files
authored
[bazel] Port #95942 (#96334)
1 parent 19470e7 commit 1eddf35

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@ mlir_c_api_cc_library(
824824
includes = ["include"],
825825
deps = [
826826
":ConversionPasses",
827+
":ConvertToSPIRV",
827828
":Pass",
828829
],
829830
)
@@ -4200,6 +4201,7 @@ cc_library(
42004201
":ControlFlowToSPIRV",
42014202
":ConversionPassIncGen",
42024203
":ConvertToLLVM",
4204+
":ConvertToSPIRV",
42034205
":FuncToEmitC",
42044206
":FuncToLLVM",
42054207
":FuncToSPIRV",
@@ -8209,6 +8211,32 @@ cc_library(
82098211
],
82108212
)
82118213

8214+
cc_library(
8215+
name = "ConvertToSPIRV",
8216+
srcs = ["lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp"],
8217+
hdrs = ["include/mlir/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.h"],
8218+
includes = ["include"],
8219+
deps = [
8220+
":ArithToSPIRV",
8221+
":ArithTransforms",
8222+
":ConversionPassIncGen",
8223+
":FuncToSPIRV",
8224+
":IR",
8225+
":IndexToSPIRV",
8226+
":Pass",
8227+
":Rewrite",
8228+
":SCFToSPIRV",
8229+
":SPIRVConversion",
8230+
":SPIRVDialect",
8231+
":SPIRVTransforms",
8232+
":TransformUtils",
8233+
":Transforms",
8234+
":UBToSPIRV",
8235+
":VectorToSPIRV",
8236+
":VectorTransforms",
8237+
],
8238+
)
8239+
82128240
cc_library(
82138241
name = "ControlFlowToSCF",
82148242
srcs = [

0 commit comments

Comments
 (0)