[llvm] [SimplifyCFG][swifterror] Don't sink calls with swifterror params (PR #139015)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Thu May 8 11:55:28 PDT 2025
efriedma-quic wrote:
I think it might make sense to try to leverage the similarity between swifterror values and the `token` type. The restrictions are basically the same; it can only be used by a specific set of instructions, and you aren't allowed to obscure a swifterror value. And if the checks are unified, we never need to think about the semantics; you just always check for tokens and swifterror together.
https://github.com/llvm/llvm-project/pull/139015
More information about the llvm-commits
mailing list