Skip to content

[AIE] Expand also uses in expandCopyBundles#959

Merged
andcarminati merged 1 commit into
aie-publicfrom
andreu.fix.new.copy.bundle
Apr 24, 2026
Merged

[AIE] Expand also uses in expandCopyBundles#959
andcarminati merged 1 commit into
aie-publicfrom
andreu.fix.new.copy.bundle

Conversation

@andcarminati
Copy link
Copy Markdown
Collaborator

We can still have cycles in copy bundles if we only expand defs.

We can still have cycles in copy bundles if we only expand defs.
@andcarminati
Copy link
Copy Markdown
Collaborator Author

This is a safe solution. In the future, we may strip out from the copy bundles only sub copies from or to full reg classes (no sub register).

; CHECK-NEXT: [[COPY34:%[0-9]+]].sub_hi_dim_then_sub_dim_stride:eds = COPY [[COPY33]].sub_hi_dim_then_sub_dim_stride
; CHECK-NEXT: undef [[COPY35:%[0-9]+]].sub_lo_dim:eds = COPY [[COPY34]].sub_lo_dim {
; CHECK-NEXT: internal [[COPY35]].sub_hi_dim_then_sub_dim_count:eds = COPY [[COPY34]].sub_hi_dim_then_sub_dim_count
; CHECK-NEXT: internal [[COPY35]].sub_hi_dim_then_sub_dim_size:eds = COPY [[COPY34]].sub_hi_dim_then_sub_dim_size
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you know why we now drop internal?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are unbundling those copies, so they are not internal anymore.

Copy link
Copy Markdown
Collaborator

@F-Stuckmann F-Stuckmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andcarminati
Copy link
Copy Markdown
Collaborator Author

No QoR regressions!

@andcarminati andcarminati merged commit 1905b41 into aie-public Apr 24, 2026
8 checks passed
@andcarminati andcarminati deleted the andreu.fix.new.copy.bundle branch April 24, 2026 07:11
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