hoodmane wrote: It seems that builtins can do that. In `SemaWasm.cpp` we call `TheCall->setType(FuncTy->getReturnType());` and that implies that the return type of the call to `__builtin_wasm_nontrapping_call()` is the same as the return type of `func`.
https://github.com/llvm/llvm-project/pull/150201 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits