nod-ai / iree-amd-aie

IREE plugin repository for the AMD AIE accelerator
Apache License 2.0
69 stars 30 forks source link

[AMDAIETemporaryAllocBufferization] Don't change operand of dealloc #831

Closed newling closed 1 month ago

newling commented 1 month ago

Apologies -- I introduced this bug in https://github.com/nod-ai/iree-amd-aie/pull/824

Basically, the operand of the memref.dealloc was becoming the amdaie.buffer, it should remain the memref.alloc (canonicalization will remove both the memref.dealloc and memref.alloc later, then).