[WebAssembly] SIMD comparisons
authorThomas Lively <tlively@google.com>
Wed, 12 Sep 2018 17:56:00 +0000 (17:56 +0000)
committerThomas Lively <tlively@google.com>
Wed, 12 Sep 2018 17:56:00 +0000 (17:56 +0000)
commitebd4c906d870bc0e64e63fdf0fec3169bc4fc7d0
tree0b2aac28394f539ba58638f34dfd38a65d7aedc4
parent4d0509f61a506f8558837bd95f539f91b5603ffd
[WebAssembly] SIMD comparisons

Summary:
Match the ordering semantics of non-vector comparisons. For
floating point comparisons that do not correspond to instructions, the
tests check that some vector comparison instruction was emitted but do
not care about the full implementation.

Reviewers: aheejin, dschuff

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

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

llvm-svn: 342064
llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
llvm/test/CodeGen/WebAssembly/simd-comparisons.ll [new file with mode: 0644]