[PATCH] D87431: [WebAssembly] Set unreachable as canonical to permit disassembly

Dominic Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 12:08:17 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG4252f3009b16: [WebAssembly] Set unreachable as canonical to permit disassembly (authored by ddcc).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87431/new/

https://reviews.llvm.org/D87431

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


Index: llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td
===================================================================
--- llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td
+++ llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td
@@ -103,7 +103,7 @@
 
 } // isReturn = 1
 
-let isTrap = 1 in
+let IsCanonical = 1, isTrap = 1 in
 defm UNREACHABLE : NRI<(outs), (ins), [(trap)], "unreachable", 0x00>;
 
 } // isTerminator = 1


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87431.291053.patch
Type: text/x-patch
Size: 442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200910/3c83775b/attachment.bin>


More information about the llvm-commits mailing list