Skip to content

Commit dd6afcd

Browse files
authored
[TritonIntelGPU] Add llvm to allocate shared memory pass dependencies (#2547)
Add `llvm` to dependent dialects of Intel allocate shared memory pass. This is needed for correctness as this pass creates `llvm.ptr` type instances. Signed-off-by: victor-eds <[email protected]>
1 parent c039812 commit dd6afcd

File tree

1 file changed

+1
-0
lines changed
  • third_party/intel/include/TritonIntelGPUToLLVM

1 file changed

+1
-0
lines changed

third_party/intel/include/TritonIntelGPUToLLVM/Passes.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def IntelDecomposeUnsupportedConversions
1111
def IntelAllocateSharedMemory
1212
: Pass<"intel-allocate-shared-memory", "mlir::ModuleOp"> {
1313
let summary = "Add metadata for shared memory allocation";
14+
let dependentDialects = ["mlir::LLVM::LLVMDialect"];
1415
}
1516

1617
def ConvertTritonIntelGPUToLLVM

0 commit comments

Comments
 (0)