[all-commits] [llvm/llvm-project] 6c5f3f: [reg2mem] Add special handling to CatchSwitchInst
Zhang via All-commits
all-commits at lists.llvm.org
Fri Dec 16 07:07:39 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c5f3f62bdb29d1bffc11e8ad41c7e0fee9cb164
https://github.com/llvm/llvm-project/commit/6c5f3f62bdb29d1bffc11e8ad41c7e0fee9cb164
Author: HanSheng Zhang <admin at mayuyu.io>
Date: 2022-12-16 (Fri, 16 Dec 2022)
Changed paths:
M llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
A llvm/test/Transforms/Reg2Mem/catchswitch-crash2.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list