[PATCH] D43740: [WebAssembly] Add IntrNoReturn property to throw/rethrow intrinsics

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 25 06:23:50 PST 2018


aheejin updated this revision to Diff 135821.
aheejin added a comment.

- style fix again


Repository:
  rL LLVM

https://reviews.llvm.org/D43740

Files:
  include/llvm/IR/IntrinsicsWebAssembly.td


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]>;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43740.135821.patch
Type: text/x-patch
Size: 660 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180225/b9504ab0/attachment.bin>


More information about the llvm-commits mailing list