[WebAssembly] Improve readability of SIMD instructions (NFC)
authorHeejin Ahn <aheejin@gmail.com>
Tue, 9 Oct 2018 22:23:39 +0000 (22:23 +0000)
committerHeejin Ahn <aheejin@gmail.com>
Tue, 9 Oct 2018 22:23:39 +0000 (22:23 +0000)
commitd9a6de3c3808961f525940fd9ff4c4617e4e52e1
treef6c15964eaeeee3bf444662b2052dcbd2b527047
parent3d2efdfdea2f70ab2eb1e81dc9c254240e4f2d7b
[WebAssembly] Improve readability of SIMD instructions (NFC)

Summary:
- Categorize instructions into the categories as in the SIMD spec
- Move SIMD-related definition to WebAssemblyInstrSIMD.td
- Put definition and use of patterns together
- Add newlines here and there

Reviewers: tlively

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

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

llvm-svn: 344086
llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td
llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td