[all-commits] [llvm/llvm-project] dc2259: [AMDGPU] Add selection pattern for v_xnor_b32

Jay Foad via All-commits all-commits at lists.llvm.org
Fri Feb 26 08:42:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc2259537a30127808efc4ee68ec5b0cae5c983a
      https://github.com/llvm/llvm-project/commit/dc2259537a30127808efc4ee68ec5b0cae5c983a
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-02-26 (Fri, 26 Feb 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/VOP2Instructions.td
    M llvm/test/CodeGen/AMDGPU/GlobalISel/xnor.ll

  Log Message:
  -----------
  [AMDGPU] Add selection pattern for v_xnor_b32

This allows GlobalISel to use this instruction where available. I assume
SelectionDAG always selects s_xnor_b32 so it isn't affected by this
change.

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




More information about the All-commits mailing list