[WebAssembly] pmin/pmax fixes
authorSamuel Parker <sam.parker@arm.com>
Tue, 21 Feb 2023 10:52:27 +0000 (10:52 +0000)
committerSamuel Parker <sam.parker@arm.com>
Wed, 22 Feb 2023 10:02:16 +0000 (10:02 +0000)
commit28ee6040710fff44ae1349eadabd4cb4a9b1b1b8
treee40558684f26a60cdda414bf9014c865ecb6b1c7
parentf5b484c56f7b0bbf265c06de70ed0c432543847f
[WebAssembly] pmin/pmax fixes

Reverse the operand ordering to ? rhs : lhs.

Differential Revision: https://reviews.llvm.org/D144466
llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
llvm/test/CodeGen/WebAssembly/simd-arith.ll