[PATCH] D138641: [reg2mem] Add special handling to CatchSwitchInst

Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 9 01:11:01 PST 2022


Naville added a comment.

Don't we need :

- Insert loadinst in each immediate successor, map each successor BasicBlock with the load inst
- For each user(which might not be inside the immediate successor), query the dominator tree, check which immediate successor dominates the user and replace the use with the loadinst in that block?


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

https://reviews.llvm.org/D138641



More information about the llvm-commits mailing list