Skip to content

Conversation

terapines-osc-cir
Copy link
Contributor

Currently we can't handle continues nested under IfOp, because if we replace it with a yield, then it only breaks out of that if-statement, rather than continuing the whole loop.
Perhaps that should be done by changing the whole structure of the while loop.

Copy link

github-actions bot commented Jun 7, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@bcardosolopes bcardosolopes merged commit 51e17c0 into llvm:main Jun 9, 2025
9 checks passed
terapines-osc-cir added a commit to Terapines/clangir that referenced this pull request Sep 2, 2025
)

Currently we can't handle continues nested under `IfOp`, because if we
replace it with a yield, then it only breaks out of that `if`-statement,
rather than continuing the whole loop.
Perhaps that should be done by changing the whole structure of the while
loop.

Co-authored-by: Yue Huang <yue.huang@terapines.com>
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