[PATCH] D131131: [WebAssembly] Improve codegen for v128.bitselect

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 17:11:14 PDT 2022


tlively created this revision.
tlively added reviewers: aheejin, ashleynh.
Herald added subscribers: pmatos, asb, wingo, ecnelises, sunfish, hiraditya, jgravelle-google, sbc100, dschuff.
Herald added a project: All.
tlively requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Add patterns selecting ((v1 ^ v2) & c) ^ v2 and ((v1 ^ v2) & ~c) ^ v2 to
v128.bitselect.

Resolves #56827.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131131

Files:
  llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
  llvm/test/CodeGen/WebAssembly/simd-arith.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131131.449837.patch
Type: text/x-patch
Size: 7137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220804/ac00d065/attachment.bin>


More information about the llvm-commits mailing list