[AMDGPU] Don't assert on partial exec copy
authorAustin Kerbow <Austin.Kerbow@amd.com>
Mon, 13 Apr 2020 01:44:45 +0000 (18:44 -0700)
committerAustin Kerbow <Austin.Kerbow@amd.com>
Mon, 13 Apr 2020 04:14:36 +0000 (21:14 -0700)
commiteab9a4f1192a42ded26e6d7e6a0eb51ee8256ebb
tree19100bc5b30a562b82ac0abdb24e9caea26fdaca
parentaa081721d45f2260b38fdba7896ef386e24fefe8
[AMDGPU] Don't assert on partial exec copy

After Machine CSE and coalescing we can end up with copies of exec to
subregister SGPRs.

Differential Revision: https://reviews.llvm.org/D77992
llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
llvm/test/CodeGen/AMDGPU/optimize-exec-masking-pre-ra.mir