Xilinx / mlir-air

MIT License
81 stars 27 forks source link

AIRDependency: Rewrite logic around replacing uses of async tokens to an erased (hoisted) op #786

Closed erwei-xilinx closed 1 week ago

erwei-xilinx commented 1 week ago

Simplify the code logic. Updating a value's users, while iterating through the op's getUsers() method, isn't safe. Use replaceAllUsesWith method instead.