Skip to content

Conversation

Andres-Salamanca
Copy link
Contributor

This PR introduces the cir.indirectbr operation to support GCC’s labels-as-values extension, which allows goto statements to jump to computed block addresses. The implementation creates a dedicated block that hosts the indirectbr, where the target address is provided through a PHI Node, similar to how classic code generation handles indirect gotos.

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.

1 participant