Re-use one of the existing successors as the new default.
This helps with a future patch to fix handling of unreachable
blocks.
Details
Details
- Reviewers
aeubanks regehr lebedev.ri
Diff Detail
Diff Detail
Paths
| Differential D136289
llvm-reduce: Don't turn switches into returns ClosedPublic Authored by arsenm on Oct 19 2022, 1:31 PM.
Details
Summary Re-use one of the existing successors as the new default.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Oct 28 2022, 4:15 PM
Revision Contents
Diff 469027 llvm/test/tools/llvm-reduce/remove-bb-switch-default.ll
llvm/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
|
do we have a test for this part?