[AMDGPU] Add selection pattern for v_xnor_b32
authorJay Foad <jay.foad@amd.com>
Fri, 26 Feb 2021 16:31:11 +0000 (16:31 +0000)
committerJay Foad <jay.foad@amd.com>
Fri, 26 Feb 2021 16:41:47 +0000 (16:41 +0000)
commitdc2259537a30127808efc4ee68ec5b0cae5c983a
tree154045c49ffe2f3421c6e8e21068aecdd315a85e
parent21bb63893e8557df7a7ab690ad98cb5979099186
[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
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/lib/Target/AMDGPU/VOP2Instructions.td
llvm/test/CodeGen/AMDGPU/GlobalISel/xnor.ll