[WebAssembly][NFC] Remove duplicate SIMD instructions and predicates
authorThomas Lively <tlively@google.com>
Wed, 25 Sep 2019 00:15:59 +0000 (00:15 +0000)
committerThomas Lively <tlively@google.com>
Wed, 25 Sep 2019 00:15:59 +0000 (00:15 +0000)
commita9b3d1fc4368eb0c8138294d531bc81f18dc9333
treeb9b4960818205939bbf647171c6b91c1c4313c23
parenta80048f3df292abb5f290c924ef6606982b47262
[WebAssembly][NFC] Remove duplicate SIMD instructions and predicates

Summary:
Instead of having different v128.load and v128.store instructions for
each MVT, just have one of each that is reused in all the
patterns. Also removes the HasSIMD128 predicate where accompanied by
HasUnimplementedSIMD128, since the latter implies the former.

Reviewers: aheejin, dschuff

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

Tags: #llvm

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

llvm-svn: 372792
llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td