llvm-project
1de696b6 - [CIR] Fix multiple returns in switch statements (#164468)

Commit
87 days ago
[CIR] Fix multiple returns in switch statements (#164468) Add support for multiple return statements in switch statements. Cases in switch statements don't have their own scopes but are distinct regions nonetheless. Insert multiple return blocks for each case and handle them in the cleanup code.
Author
Parents
Loading