[all-commits] [llvm/llvm-project] bf02ed: Prevent crash when TurnSwitchRangeIntoICmp receive...
Samuel Eubanks via All-commits
all-commits at lists.llvm.org
Thu Jun 16 07:17:27 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bf02ed240dfa5f88d9b764375e644cec6cf00396
https://github.com/llvm/llvm-project/commit/bf02ed240dfa5f88d9b764375e644cec6cf00396
Author: Samuel Eubanks <swamulism at gmail.com>
Date: 2022-06-16 (Thu, 16 Jun 2022)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/switch-range-to-icmp.ll
Log Message:
-----------
Prevent crash when TurnSwitchRangeIntoICmp receives default unreachable destination
TurnSwitchRangeIntoICmp crashes when given a switch with a default
destination of unreachable
Addresses issue #53208
https://github.com/llvm/llvm-project/issues/53208
Differential revision: https://reviews.llvm.org/D127712
More information about the All-commits
mailing list