[PATCH] D119266: [SimplifyCFG] Do not merge landingpads for invokes with deopt state.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 9 00:36:51 PST 2022


lebedev.ri added a comment.

Hot take: then the deopt is simply misdesigned.
The landingpad should simply be non-empty, it should contain a call to some intrinsic with `nomerge` attribute, so it stays unique.
(It sounds quite similar to the `hasaddresstaken` brokenness.)

More realistically, then we need to add the opposite transform into simplifycfg.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119266



More information about the llvm-commits mailing list