AMDGPU/GlobalISel: Use and instead of BFE with inline immediate
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 1 Jul 2019 13:22:06 +0000 (13:22 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 1 Jul 2019 13:22:06 +0000 (13:22 +0000)
commit5dafcb9b1184478228b669327d17a5bc990efe0c
tree99d71e9f5ca63347edfbbb9e59a9543ab725fab8
parent01bb075c1f9a36baf9c5a632faa668522dee8e8d
AMDGPU/GlobalISel: Use and instead of BFE with inline immediate

Zext from s1 is the only case where this should do anything with the
current legal extensions.

llvm-svn: 364760
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-anyext.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sext.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-zext.mir