Skip to content

Commit f47b514

Browse files
authored
[bazel][mlir] Port #162934: MathToXeVM (#163441)
1 parent 3b46556 commit f47b514

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
@@ -4159,6 +4159,7 @@ cc_library(
41594159
":MathToLibm",
41604160
":MathToROCDL",
41614161
":MathToSPIRV",
4162+
":MathToXeVM",
41624163
":MemRefToEmitC",
41634164
":MemRefToLLVM",
41644165
":MemRefToSPIRV",
@@ -7048,6 +7049,33 @@ cc_library(
70487049
],
70497050
)
70507051

7052+
cc_library(
7053+
name = "MathToXeVM",
7054+
srcs = glob([
7055+
"lib/Conversion/MathToXeVM/*.cpp",
7056+
]),
7057+
hdrs = glob([
7058+
"include/mlir/Conversion/MathToXeVM/*.h",
7059+
]),
7060+
includes = [
7061+
"include",
7062+
"lib/Conversion/MathToXeVM",
7063+
],
7064+
deps = [
7065+
":ArithAttrToLLVMConversion",
7066+
":ArithDialect",
7067+
":ConversionPassIncGen",
7068+
":IR",
7069+
":LLVMCommonConversion",
7070+
":LLVMDialect",
7071+
":MathDialect",
7072+
":Pass",
7073+
":Transforms",
7074+
":XeVMDialect",
7075+
"//llvm:Support",
7076+
],
7077+
)
7078+
70517079
cc_library(
70527080
name = "FuncToEmitC",
70537081
srcs = glob([

0 commit comments

Comments
 (0)