[PATCH] D97560: [AMDGPU] Add selection pattern for v_xnor_b32

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 08:36:42 PST 2021


foad created this revision.
foad added a reviewer: arsenm.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97560

Files:
  llvm/lib/Target/AMDGPU/SIInstrInfo.td
  llvm/lib/Target/AMDGPU/VOP2Instructions.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/xnor.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97560.326710.patch
Type: text/x-patch
Size: 7569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210226/ad50489f/attachment.bin>


More information about the llvm-commits mailing list