Skip to content

[CIR][ThroughMLIR] Lower uncanonicalized fors to whiles #1644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2025

Conversation

terapines-osc-2
Copy link
Contributor

The transformation functions are all named transferToXXXOp. Are those typos?

Copy link
Member

@bcardosolopes bcardosolopes left a comment

Choose a reason for hiding this comment

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

LGTM, minor nit

// CHECK: %[[ALLOCA:.+]] = memref.alloca
// CHECK: %[[ZERO:.+]] = arith.constant 0
// CHECK: memref.store %[[ZERO]], %[[ALLOCA]]
// CHECK: %[[HUNDRED:.+]] = arith.constant 100
Copy link
Member

Choose a reason for hiding this comment

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

Since these are not rejected anymore, just remove these files. Create a new one that tests the lowering for the snippet here + the one from the other test.

@bcardosolopes bcardosolopes merged commit f04dd8d into llvm:main May 27, 2025
10 checks passed
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.

3 participants