AMDGPU/GlobalISel: Fix assert on copy to vcc
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 22 Jul 2020 03:24:02 +0000 (23:24 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 6 Aug 2020 13:41:14 +0000 (09:41 -0400)
commit53162567090251e98b14f979ee2f69669cec3ddd
treec01c8a22a6802ff368b64fb19d5734fee6e931bf
parent1de43bd6df74fb4cd8c25020afa1dd14ecf08527
AMDGPU/GlobalISel: Fix assert on copy to vcc

This was trying to constrain a physical register. By the verifier's
understanding, it's impossible to have a 1-bit copy to vcc/vcc_lo so
don't try to handle physregs.
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-copy.mir