Skip to content

Commit 9856962

Browse files
authored
Speedup RewriteStackPtr pass (#3878)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent c7eb9ea commit 9856962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/intel/lib/TritonIntelGPUTransforms/RewriteStackPtr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ struct TritonIntelGPURewriteStackPtrPass
2525
void runOnOperation() override {
2626
ModuleOp mod = getOperation();
2727
MLIRContext *ctx = &getContext();
28-
ModuleAllocation allocation(mod);
2928
LLVM::LLVMPointerType ptrTy =
3029
ptr_ty(ctx, mlir::triton::TritonGEN::TritonGENMemorySpace::kWorkgroup);
3130

3231
auto globalSmem = mod.lookupSymbol<LLVM::GlobalOp>("global_smem");
3332
if (!globalSmem) {
3433
return;
3534
}
35+
CallGraph<Allocation> allocation(mod);
3636
bool usePoison =
3737
(mod->getAttrOfType<IntegerAttr>("ttg.shared").getInt() == 0);
3838

0 commit comments

Comments
 (0)