[all-commits] [llvm/llvm-project] b19de8: [WebAssembly] Improve codegen for v128.bitselect

Thomas Lively via All-commits all-commits at lists.llvm.org
Wed Aug 3 23:28:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b19de814add2c2d9496c0b2fcc8a47024a58e491
      https://github.com/llvm/llvm-project/commit/b19de814add2c2d9496c0b2fcc8a47024a58e491
  Author: Thomas Lively <tlively at google.com>
  Date:   2022-08-03 (Wed, 03 Aug 2022)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
    M llvm/test/CodeGen/WebAssembly/simd-arith.ll

  Log Message:
  -----------
  [WebAssembly] Improve codegen for v128.bitselect

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

Resolves #56827.

Reviewed By: aheejin

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




More information about the All-commits mailing list