Han-Chung Wang
Han-Chung Wang
When a dispatch has a tied operand whose encoding is being unified, the result encoding must also be updated to match (verifier requirement). Additionally, insert a re-encode op after the...
Added functionality to update stream.tensor.dispatch operand encodings when unifying encodings for globals. - Uses Explorer with walkTransitiveUses for cross-function tracking of encoded global uses. - Follows stream.async.clone ops (BFS worklist)...
# UnifyEncodingForGlobals Pass - Implementation Plan ## Overview This pass unifies multiple encoded versions of the same immutable global to reduce memory footprint in IREE's Stream dialect. When a single...