The GitHub Actions job "Lint" on tvm.git/main has succeeded.
Run started by GitHub user tlopex (triggered by tlopex).

Head commit for run:
c13cb3993dbb2cdd4bf49a9dac1f1f7365b1340c / Shushi Hong <[email protected]>
[Fix][TIRx] Fix buffer lifetime in LowerWarpMemory (#20295)

This PR fixes a use-after-free in `LowerWarpMemory`. When rewriting a
uniquely owned function body, the original buffer variables can be
destroyed while the storage-scope table still holds raw pointers to
them. `UpdatePointerStorageScope` then reads freed memory, potentially
reporting that the variable is not of pointer type.

The table now stores owning `Var` handles, keeping the variables alive
until scope updates finish while preserving the existing in-place
mutation path.

Adds a C++ regression test covering uniquely owned and shared inputs,
checking the lowered buffer scope, accesses, and preservation of shared
input.

Report URL: https://github.com/apache/tvm/actions/runs/34425287079

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to