[PATCH] D136289: llvm-reduce: Don't turn switches into returns

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 13:31:36 PDT 2022


arsenm created this revision.
arsenm added reviewers: aeubanks, regehr, lebedev.ri.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Re-use one of the existing successors as the new default.
This helps with a future patch to fix handling of unreachable
blocks.


https://reviews.llvm.org/D136289

Files:
  llvm/test/tools/llvm-reduce/remove-bb-switch-default.ll
  llvm/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136289.469027.patch
Type: text/x-patch
Size: 4420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221019/aec2ed5f/attachment.bin>


More information about the llvm-commits mailing list