Files
clang-p2996/llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
HanSheng Zhang 6c5f3f62bd [reg2mem] Add special handling to CatchSwitchInst
When promoting a phi in a catchswitch block to memory, we cannot
insert load/store instruction in that block, and need to insert
them inside all successors instead.

Fixes https://github.com/llvm/llvm-project/issues/59185.

Differential Revision: https://reviews.llvm.org/D138641
2022-12-16 16:04:35 +01:00

6.8 KiB