Skip to content

[CIR][IR] Implement cir.break operation #395

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 2 commits into from
Jan 16, 2024

Conversation

sitio-couto
Copy link
Collaborator

@sitio-couto sitio-couto commented Jan 11, 2024

Stack from ghstack (oldest at bottom):

Same rationale as cir.continue, it detaches the representation of the
C/C++ break statement into a separate operation. This simplifies
lowering and verifications related to break statements, as well as the
definition and lowering of the cir.yield operation.

Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

[ghstack-poisoned]
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.

Thanks for "breaking" this into self contained PRs :D
LGTM

Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

[ghstack-poisoned]
@sitio-couto sitio-couto merged commit a4d10c5 into gh/sitio-couto/3/base Jan 16, 2024
sitio-couto added a commit that referenced this pull request Jan 16, 2024
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96
Pull Request resolved: #395
@sitio-couto sitio-couto deleted the gh/sitio-couto/3/head branch January 16, 2024 20:53
lanza pushed a commit that referenced this pull request Jan 29, 2024
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96
Pull Request resolved: #395
lanza pushed a commit that referenced this pull request Mar 23, 2024
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96
Pull Request resolved: #395
eZWALT pushed a commit to eZWALT/clangir that referenced this pull request Mar 24, 2024
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96
Pull Request resolved: llvm#395
lanza pushed a commit that referenced this pull request Apr 29, 2024
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96
Pull Request resolved: #395
lanza pushed a commit that referenced this pull request Apr 29, 2024
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96
Pull Request resolved: #395
eZWALT pushed a commit to eZWALT/clangir that referenced this pull request Apr 29, 2024
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96
Pull Request resolved: llvm#395
lanza pushed a commit that referenced this pull request Apr 29, 2024
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96
Pull Request resolved: #395
pysuxing pushed a commit to pysuxing/llvm-project that referenced this pull request Jul 17, 2024
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96c3abe51d717c2fa6ca9e0073e42e770c6
Pull Request resolved: llvm/clangir#395
Hugobros3 pushed a commit to shady-gang/clangir that referenced this pull request Oct 2, 2024
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96
Pull Request resolved: llvm#395
keryell pushed a commit to keryell/clangir that referenced this pull request Oct 19, 2024
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96
Pull Request resolved: llvm#395
lanza pushed a commit that referenced this pull request Nov 5, 2024
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96
Pull Request resolved: #395
lanza pushed a commit that referenced this pull request Mar 18, 2025
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96
Pull Request resolved: #395
xlauko pushed a commit to trailofbits/instafix-llvm that referenced this pull request Mar 28, 2025
Same rationale as `cir.continue`, it detaches the representation of the
C/C++ `break` statement into a separate operation. This simplifies
lowering and verifications related to `break` statements, as well as the
definition and lowering of the `cir.yield` operation.

ghstack-source-id: 929cf96c3abe51d717c2fa6ca9e0073e42e770c6
Pull Request resolved: llvm/clangir#395
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