Skip to content

[AMD][BACKEND] Cherry-Pick #9541 (CanonicalizePointers fix) to rel/3.7 #9872

Closed
AlexAUT wants to merge 1 commit into
triton-lang:rel/3.7from
AlexAUT:cherryPickBufferFix
Closed

[AMD][BACKEND] Cherry-Pick #9541 (CanonicalizePointers fix) to rel/3.7 #9872
AlexAUT wants to merge 1 commit into
triton-lang:rel/3.7from
AlexAUT:cherryPickBufferFix

Conversation

@AlexAUT

@AlexAUT AlexAUT commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Pulls in:

fixing buffer ops related compilation issues.

triton-lang#9541)

`scf.if` and `arith.select` ops can have different base pointers accross
branches. In that case, `FatPtrAttrs` can't keep `smallTensorBase` or
pick one of the branches. Instead, replace `smallTensorBase` (Value)
with `isSmallTensor` (bool) in `FatPtrAttrs` and add a conservative
`merge` function for combining attrs. Also, handle different scalar
offsets properly when handling `arith.select` ops.
@AlexAUT

AlexAUT commented Apr 17, 2026

Copy link
Copy Markdown
Contributor Author

No longer required since it got cherry-picked in release/3.7.

@AlexAUT AlexAUT closed this Apr 17, 2026
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.

3 participants