Skip to content

Conversation

@sbrantq
Copy link
Member

@sbrantq sbrantq commented Feb 5, 2026

The pattern concat(broadcast(...), broadcast(...)) fires when the bcasts replicate values along the concat dimension.

In the MWE it gives something like

%cat = concat %arg0, %arg1, dim = 0 : (tensor<1xf32>, tensor<1xf32>) -> tensor<2xf32>
%out = broadcast_in_dim %cat, dims = [0] : (tensor<2xf32>) -> tensor<8xf32>

@wsmoses wsmoses requested a review from avik-pal February 5, 2026 00:17
@wsmoses wsmoses merged commit b3da89c into main Feb 5, 2026
22 of 25 checks passed
@wsmoses wsmoses deleted the concatbcastfix branch February 5, 2026 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants