[llvm] [WebAssembly] Make llvm.wasm.throw invokable (PR #128104)
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 24 12:22:57 PST 2025
================
@@ -3360,16 +3360,28 @@ void SelectionDAGBuilder::visitInvoke(const InvokeInst &I) {
case Intrinsic::experimental_gc_statepoint:
LowerStatepoint(cast<GCStatepointInst>(I), EHPadBB);
break;
+ // wasm_throw, wasm_rethrow: This is usually done in visitTargetIntrinsic,
+ // but this intrinsic is special because it can be invoked, so we manually
----------------
dschuff wrote:
```suggestion
// but these intrinsics are special because they can be invoked, so we manually
```
https://github.com/llvm/llvm-project/pull/128104
More information about the llvm-commits
mailing list