By using the existing isCodeGenOnly bit in the tablegen defs, as
suggested by tlively in https://reviews.llvm.org/D51662
Tested: llvm-lit -v find test -name WebAssembly
Paths 
  |  Differential  D52373  
[WebAssembly] Simplified selecting asmmatcher stack instructions. ClosedPublic Authored by aardappel on Sep 21 2018, 12:04 PM. 
Details Summary By using the existing isCodeGenOnly bit in the tablegen defs, as Tested: llvm-lit -v find test -name WebAssembly 
Diff Detail 
 Event TimelineHerald added subscribers: llvm-commits, sunfish, aheejin and 3 others.  ·  View Herald TranscriptSep 21 2018, 12:04 PM This revision is now accepted and ready to land.Sep 21 2018, 1:15 PM Closed by commit rL342772: [WebAssembly] Simplified selecting asmmatcher stack instructions. (authored by aardappel).  ·  Explain WhySep 21 2018, 1:55 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 166557 llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrControl.td
 llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrFormats.td
 llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||