diff options
| author | Morris Hafner <mmha@users.noreply.github.com> | 2025-10-31 19:42:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-31 11:42:48 +0000 |
| commit | 1de696b6e2b5205660b5108c6f2e4e9446252671 (patch) | |
| tree | 4c65ecf1cc0e4d87b8e9ac75117befcd69c026f5 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | a831c3fda76366ad8f1de502c05ee3ac719e0a83 (diff) | |
| download | llvm-1de696b6e2b5205660b5108c6f2e4e9446252671.zip llvm-1de696b6e2b5205660b5108c6f2e4e9446252671.tar.gz llvm-1de696b6e2b5205660b5108c6f2e4e9446252671.tar.bz2 | |
[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.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
