Index: include/llvm/IR/IntrinsicsWebAssembly.td =================================================================== --- include/llvm/IR/IntrinsicsWebAssembly.td +++ include/llvm/IR/IntrinsicsWebAssembly.td @@ -32,7 +32,8 @@ def int_wasm_grow_memory : Intrinsic<[llvm_anyint_ty], [LLVMMatchType<0>], []>; // Exception handling intrinsics -def int_wasm_throw: Intrinsic<[], [llvm_i32_ty, llvm_ptr_ty], [Throws]>; -def int_wasm_rethrow: Intrinsic<[], [], [Throws]>; +def int_wasm_throw + : Intrinsic<[], [ llvm_i32_ty, llvm_ptr_ty ], [ Throws, IntrNoReturn ]>; +def int_wasm_rethrow : Intrinsic<[], [], [Throws, IntrNoReturn]>; }