[PATCH] D127712: Prevent crash when TurnSwitchRangeIntoICmp receives default unreachable destination

Samuel Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 01:22:39 PDT 2022


swamulism updated this revision to Diff 437073.
swamulism added a comment.

Updating D127712 <https://reviews.llvm.org/D127712>: Prevent crash when TurnSwitchRangeIntoICmp receives default unreachable destination


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127712/new/

https://reviews.llvm.org/D127712

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/SimplifyCFG/switch-default-undef.ll
  llvm/test/Transforms/SimplifyCFG/switch-range-to-icmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127712.437073.patch
Type: text/x-patch
Size: 3494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220615/bc36d1a8/attachment.bin>


More information about the llvm-commits mailing list