[WebAssembly] Handle V128 register class in explicit locals pass
authorThomas Lively <tlively@google.com>
Tue, 9 Oct 2018 23:33:16 +0000 (23:33 +0000)
committerThomas Lively <tlively@google.com>
Tue, 9 Oct 2018 23:33:16 +0000 (23:33 +0000)
commit409f5840a7b661ef6ed02a9dea839446a8b9f8c3
tree42b8851537d78106764677be7fd22d01688814c4
parent72d4866e57666057e5d8c3e51065e9f895f37f29
[WebAssembly] Handle V128 register class in explicit locals pass

Summary:
Also add tests to catch crashes in passes that are not normally run in
tests.

Reviewers: aheejin, dschuff

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

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

llvm-svn: 344094
llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
llvm/test/CodeGen/WebAssembly/simd-arith.ll