You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by "jinhongyii (via GitHub)" <gi...@apache.org> on 2026/08/04 23:58:42 UTC

[PR] [FIX][TIRx] Traverse pointer expressions in tile calls [tvm]

jinhongyii opened a new pull request, #20089:
URL: https://github.com/apache/tvm/pull/20089

   TilePrimitiveCall arguments and config values can contain IR expressions that are not PrimExprs, including PointerExpr values produced by T.address_of. The Python statement visitor and mutator used tvm.ir.is_prim_expr, so they silently skipped these pointer operands.
   
   Recognize all tvm.ir.Expr values in TilePrimitiveCall traversal. The regression test places an mbar pointer in a tile-call config and verifies that both visiting and mutation reach its BufferLoad.
   
   Tests:
   - `python -m pytest tests/python/tirx/transform/test_stmt_functor.py -q` (20 passed)
   - `pre-commit run --files python/tvm/tirx/stmt_functor.py tests/python/tirx/transform/test_stmt_functor.py`
   
   Ported from mlc-ai/tvm@98b7decf5a741d9d47210f7d204085d8acba81b3.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org


Re: [PR] [FIX][TIRx] Traverse pointer expressions in tile calls [tvm]

Posted by "spectrometerHBH (via GitHub)" <gi...@apache.org>.
spectrometerHBH merged PR #20089:
URL: https://github.com/apache/tvm/pull/20089


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org