Skip to content

[Bug][TIR][StorageRewrite] bufferload unvisited when used in builtin::address_of() #13976

@supersat

Description

@supersat

We encountered a bug where using T.address_of results in memory being erroneously reused and tracked it down to a bug in src/tir/transforms/storage_rewrite.cc where only the buffer index expressions are visited, and not the buffer itself. @csullivan has a fix (tlc-pack/relax@c029f74) but it needs tests and to be upstreamed.

  • tir:transform

cc: @kparzysz-quic

cc @Hzfengsy @junrushao @quic-sanirudh @shingjan

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions