[WebAssembly] Simplified selecting asmmatcher stack instructions.
authorWouter van Oortmerssen <aardappel@gmail.com>
Fri, 21 Sep 2018 20:53:55 +0000 (20:53 +0000)
committerWouter van Oortmerssen <aardappel@gmail.com>
Fri, 21 Sep 2018 20:53:55 +0000 (20:53 +0000)
commite0403f13c461a515a77a297569bde3243a498cc9
treed74889841c74bdc52a9ef08508fcbb23c793c44c
parenta9d9836d98f7983adf3b4da4ce3f0a47645eba71
[WebAssembly] Simplified selecting asmmatcher stack instructions.

Summary:
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`

Reviewers: tlively

Subscribers: dschuff, sbc100, jgravelle-google, aheejin, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D52373

llvm-svn: 342772
llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td
llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td
llvm/utils/TableGen/AsmMatcherEmitter.cpp