[llvm] [SimplifyCFG][swifterror] Don't sink calls with swifterror params (PR #139015)

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 09:37:55 PDT 2025


ellishg wrote:

> In particular, legality here depends on whether sinking requires the introduction of a phi node or not. Could you add test variant where the swifterror argument is the same in both calls, and another argument differs?

Just to make sure I understand. In this case the sink would be safe, right?

https://github.com/llvm/llvm-project/pull/139015


More information about the llvm-commits mailing list