Skip to content

Commit 6f5f264

Browse files
committed
[bazel] Port 8a820f1
1 parent 7abbb0e commit 6f5f264

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5216,6 +5216,7 @@ cc_library(
52165216
":LLVMTypesIncGen",
52175217
":MemorySlotInterfaces",
52185218
":MemorySlotInterfacesIncGen",
5219+
":PtrDialect",
52195220
":SideEffectInterfaces",
52205221
":Support",
52215222
":ViewLikeInterface",
@@ -5655,6 +5656,7 @@ td_library(
56555656
":InferTypeOpInterfaceTdFiles",
56565657
":MemorySlotInterfacesTdFiles",
56575658
":OpBaseTdFiles",
5659+
":PtrTdFiles",
56585660
":SideEffectInterfacesTdFiles",
56595661
":ViewLikeInterfaceTdFiles",
56605662
],
@@ -8860,6 +8862,18 @@ cc_library(
88608862
],
88618863
)
88628864

8865+
cc_library(
8866+
name = "PtrToLLVMIRTranslation",
8867+
srcs = glob(["lib/Target/LLVMIR/Dialect/Ptr/*.cpp"]),
8868+
hdrs = glob(["include/mlir/Target/LLVMIR/Dialect/Ptr/*.h"]),
8869+
includes = ["include"],
8870+
deps = [
8871+
":IR",
8872+
":PtrDialect",
8873+
":ToLLVMIRTranslation",
8874+
],
8875+
)
8876+
88638877
cc_library(
88648878
name = "XeVMToLLVMIRTranslation",
88658879
srcs = glob(["lib/Target/LLVMIR/Dialect/XeVM/*.cpp"]),
@@ -8893,6 +8907,7 @@ cc_library(
88938907
":NVVMToLLVMIRTranslation",
88948908
":OpenACCToLLVMIRTranslation",
88958909
":OpenMPToLLVMIRTranslation",
8910+
":PtrToLLVMIRTranslation",
88968911
":ROCDLToLLVMIRTranslation",
88978912
":SPIRVToLLVMIRTranslation",
88988913
":VCIXToLLVMIRTranslation",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ package(default_visibility = ["//visibility:public"])
2626
"//mlir:include/mlir/Dialect/OpenMP/OpenMPOpBase.td",
2727
"//mlir:include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td",
2828
"//mlir:include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.td",
29+
"//mlir:include/mlir/Dialect/Ptr/IR/MemorySpaceInterfaces.td",
2930
"//mlir:include/mlir/IR/BuiltinAttributeInterfaces.td",
3031
"//mlir:include/mlir/IR/BuiltinAttributes.td",
3132
"//mlir:include/mlir/IR/BuiltinDialect.td",

0 commit comments

Comments
 (0)