[PATCH] D50919: [WebAssembly] Add hasSideEffects flag to catch instructions

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 22 11:23:37 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL340433: [WebAssembly] Add hasSideEffects flag to catch instructions (authored by aheejin, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D50919

Files:
  llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrControl.td


Index: llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrControl.td
===================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrControl.td
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrControl.td
@@ -172,7 +172,7 @@
 } // Uses = [VALUE_STACK], Defs = [VALUE_STACK]
 
 // Catching an exception: catch / catch_all
-let hasCtrlDep = 1 in {
+let hasCtrlDep = 1, hasSideEffects = 1 in {
 defm CATCH_I32 : I<(outs I32:$dst), (ins i32imm:$tag),
                    (outs), (ins i32imm:$tag),
                    [(set I32:$dst, (int_wasm_catch imm:$tag))],


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50919.162007.patch
Type: text/x-patch
Size: 620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180822/2d2e10f0/attachment.bin>


More information about the llvm-commits mailing list