The condition register bank must be scc or vcc so that a copy will be
inserted, which will be lowered to a compare.
Currently greedy unnecessarily forces using a VCC select.
Paths
| Differential D63798
AMDGPU/GlobalISel: Fix allowing non-boolean conditions for G_SELECT ClosedPublic Authored by arsenm on Jun 25 2019, 5:48 PM.
Details
Diff Detail Event TimelineHerald added subscribers: Petar.Avramovic, t-tye, tpr and 7 others. · View Herald TranscriptJun 25 2019, 5:48 PM This revision is now accepted and ready to land.Jul 1 2019, 2:45 AM
Revision Contents
Diff 206566 lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi.mir
test/CodeGen/AMDGPU/GlobalISel/regbankselect-select.mir
|