[WebAssembly] Additional patterns for pmin/pax
authorSamuel Parker <sam.parker@arm.com>
Wed, 8 Feb 2023 14:09:06 +0000 (14:09 +0000)
committerSamuel Parker <sam.parker@arm.com>
Fri, 10 Feb 2023 09:54:45 +0000 (09:54 +0000)
commita674a12dd57ef990fe7da4b46b00b441540a2e4a
tree202806c33a50f538a02476084bb03ebceb0f4536
parent9ec06f40d66ea321aaebdcf24a53ea41264a8d99
[WebAssembly] Additional patterns for pmin/pax

Each operation was missing their inverted condition using olt or ogt.
Also, as we don't need to discern +/-0, I think we should also be
able to use ole and oge.

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