iree
iree copied to clipboard
[Flow] Fix dominance error in `FormScalarDispatches`
Issue here https://github.com/iree-org/iree/issues/17759
When preforming horizontal fusion, ops that were clonable (but not used by the fusion group) were ignored. If these ops were dependent on values produced by 'root ops', then the root op would get moved into the region. The logic here probably needs to get refactored because there is probably missed horizontal fusion opportunities. This probably need a more in depth analysis, however.