[PATCH] D69206: [AMDGPU] Select AGPR in PHI operand legalization

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 17:29:01 PDT 2019


rampitec added a comment.

Also note, if such PHI survives until RA, it will go into PHI elimination where it will be converted into a COPY. Then it has to be handled by the copyPhysReg(), which is a subject to register scavenging and not very efficient anyway. We have much better chances to deal with it earlier if that is a well formed PHI.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69206/new/

https://reviews.llvm.org/D69206





More information about the llvm-commits mailing list