Add patterns selecting ((v1 ^ v2) & c) ^ v2 and ((v1 ^ v2) & ~c) ^ v2 to
v128.bitselect.
Resolves #56827.
Paths
| Differential D131131
[WebAssembly] Improve codegen for v128.bitselect ClosedPublic Authored by tlively on Aug 3 2022, 5:11 PM.
Details Summary Add patterns selecting ((v1 ^ v2) & c) ^ v2 and ((v1 ^ v2) & ~c) ^ v2 to Resolves #56827.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 3 2022, 5:48 PM This revision was landed with ongoing or failed builds.Aug 3 2022, 11:28 PM Closed by commit rGb19de814add2: [WebAssembly] Improve codegen for v128.bitselect (authored by tlively). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 449883 llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
llvm/test/CodeGen/WebAssembly/simd-arith.ll
|