[llvm] [SPIR-V] Patch invoke/callbr call sites when legalizing function signatures (PR #217000)

Alex Voicu via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 05:25:03 PDT 2026


AlexVlx wrote:

> Only CallInst was patched before RAUW, leaving invoke/callbr with a stale FunctionType and a broken verifier
> 
> follow up change for #216638

This seems fine. As a curiosity, where did you run into `invoke`? Asides from hipstdpar uses, it theoretically shouldn't show up, I don't think.

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


More information about the llvm-commits mailing list