AMDGPU/GlobalISel: Remove old hacks for boolean selection
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 26 Jul 2020 14:47:08 +0000 (10:47 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 3 Aug 2020 13:04:14 +0000 (09:04 -0400)
commit2414bab5d7d6b5b247f3f3b97140a2673fa8414b
tree3704c0f8f60e36b65f93543de22c7e26c5474024
parent1782fbbc69482e76eee8af203694bb771a44c921
AMDGPU/GlobalISel: Remove old hacks for boolean selection

There were various hacks used to try to avoid making s1 SGPR vs. s1
VCC ambiguous after constraining the register before we had a strategy
to deal with this. This also attempted to handle undef operands, which
are now illegal gMIR.
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-brcond.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-phi.mir