1. [AMDGPU] Select AGPR in PHI operand legalization (details)
Commit 33092194f2cefecc75b0fd90ea21843e3550d206 by Stanislav.Mekhanoshin
[AMDGPU] Select AGPR in PHI operand legalization
If a PHI defines AGPR legalize its operands to AGPR. At the moment we
can get an AGPR PHI with VGPR operands. I am not aware of any problems
as it seems to be handled gracefully in RA, but this is not right
It also slightly decreases VGPR pressure in some cases because we do not
have to a copy via VGPR.
Differential Revision:
llvm-svn: 375446
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/mfma-loop.ll