OSDN Git Service

AMDGPU/GlobalISel: Fix selecting vcc->vcc bank copies
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 15 Jul 2019 19:46:48 +0000 (19:46 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 15 Jul 2019 19:46:48 +0000 (19:46 +0000)
commitfcd8db8a7db1996bfdd28d832c81baced2b45ecb
treee25e2736098a58be13ac0ff3cc5bf2c3f83354be
parent0cf596c83a1756c47b04192e90aae36258b84e56
AMDGPU/GlobalISel: Fix selecting vcc->vcc bank copies

The extra test change is correct, although how it arrives there is a
bug that needs work. With wave32, the test for isVCC ambiguously
reports true for an SCC or VCC source. A new allocatable pseudo
register class for SCC may be necesssary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366119 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
test/CodeGen/AMDGPU/GlobalISel/inst-select-copy.mir