[all-commits] [llvm/llvm-project] 37b720: [SimplifyCFG] Fix crash when there is unreachable ...
Allen via All-commits
all-commits at lists.llvm.org
Sun Apr 14 19:20:11 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 37b7207651b44743909a427b5509bed5e6c21b59
https://github.com/llvm/llvm-project/commit/37b7207651b44743909a427b5509bed5e6c21b59
Author: Allen <zhongyunde at huawei.com>
Date: 2024-04-15 (Mon, 15 Apr 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/switch_mask.ll
Log Message:
-----------
[SimplifyCFG] Fix crash when there is unreachable large index (#88616)
The large case index out of scope is dead code, but it is still be
created for TableContents in SwitchLookupTable::SwitchLookupTable,
so make sure the table size after growing should not get smaller.
Fix https://github.com/llvm/llvm-project/issues/88607
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