Skip to content

Commit ab6aef7

Browse files
jyknightgithub-actions[bot]
authored andcommitted
Automerge: [bazel] Port #154556: Add XeGPUToXeVM conversion pass and tests.
2 parents cb9092d + 88a7553 commit ab6aef7

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4167,6 +4167,7 @@ cc_library(
41674167
":VectorToSCF",
41684168
":VectorToSPIRV",
41694169
":VectorToXeGPU",
4170+
":XeGPUToXeVM",
41704171
":XeVMToLLVM",
41714172
],
41724173
)
@@ -13944,6 +13945,37 @@ cc_library(
1394413945
] if "SPIRV" in llvm_targets else []),
1394513946
)
1394613947

13948+
cc_library(
13949+
name = "XeGPUToXeVM",
13950+
srcs = glob([
13951+
"lib/Conversion/XeGPUToXeVM/*.cpp",
13952+
]),
13953+
hdrs = glob([
13954+
"include/mlir/Conversion/XeGPUToXeVM/*.h",
13955+
]),
13956+
includes = ["include"],
13957+
deps = [
13958+
":ArithDialect",
13959+
":ConversionPassIncGen",
13960+
":ConvertToLLVMInterface",
13961+
":GPUDialect",
13962+
":IR",
13963+
":IndexDialect",
13964+
":LLVMCommonConversion",
13965+
":LLVMDialect",
13966+
":MemRefDialect",
13967+
":Pass",
13968+
":SCFDialect",
13969+
":SCFTransforms",
13970+
":Support",
13971+
":TransformUtils",
13972+
":VectorDialect",
13973+
":XeGPUDialect",
13974+
":XeVMDialect",
13975+
"//llvm:Support",
13976+
],
13977+
)
13978+
1394713979
cc_library(
1394813980
name = "XeVMToLLVM",
1394913981
srcs = glob([

0 commit comments

Comments
 (0)