Skip to content

Iteratively determine ops that are only used in backward remat slice#9245

Merged
peterbell10 merged 1 commit into
triton-lang:mainfrom
neildhar:iterative-single-use
Feb 16, 2026
Merged

Iteratively determine ops that are only used in backward remat slice#9245
peterbell10 merged 1 commit into
triton-lang:mainfrom
neildhar:iterative-single-use

Conversation

@neildhar
Copy link
Copy Markdown
Collaborator

Replace the current recursive isOpSingleUse helper with an iterative traversal that starts from the ops used directly outside a slice and propagates to their operands. This simplifies the code and makes the handling of block arguments explicit. This is an incremental step towards properly handling block arguments (at least for for-loops) in #9201.

@neildhar neildhar requested a review from ptillet as a code owner January 19, 2026 16:49
@neildhar neildhar force-pushed the iterative-single-use branch from ea22f4c to b7c17d3 Compare January 19, 2026 16:51
@neildhar neildhar force-pushed the iterative-single-use branch from b7c17d3 to 04c101a Compare February 4, 2026 22:11
@peterbell10 peterbell10 merged commit c3b8d7c into triton-lang:main Feb 16, 2026
9 checks passed
@neildhar neildhar deleted the iterative-single-use branch March 12, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants