[all-commits] [llvm/llvm-project] 5f8f1e: [CIR] Fix unreachable block generation in EH flatt...
Andy Kaylor via All-commits
all-commits at lists.llvm.org
Tue Mar 3 08:30:04 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5f8f1e2afe991cd214bff9b3cb68612f594e8596
https://github.com/llvm/llvm-project/commit/5f8f1e2afe991cd214bff9b3cb68612f594e8596
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2026-03-03 (Tue, 03 Mar 2026)
Changed paths:
M clang/lib/CIR/Dialect/Transforms/FlattenCFG.cpp
M clang/test/CIR/Transforms/flatten-try-op.cir
Log Message:
-----------
[CIR] Fix unreachable block generation in EH flattening (#184268)
The previous EH CFG flattening implementation would sometimes create
dispatch handlers in unreachable blocks. This seemed OK until I started
implementing the code to lower the flattened CIR to an ABI-specific form
and those weren't getting updated.
This change fixes the flattening code to avoid generating unreachable
blocks.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list