[PATCH] D98515: [AMDGPU][GlobalISel] Stop foldInsertEltToCmpSelect from changing reg banks

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 31 06:18:46 PDT 2021


arsenm added a comment.

In D98515#2660982 <https://reviews.llvm.org/D98515#2660982>, @mbrkusanin wrote:

> %1:vgpr(s32) = COPY $sgpr0

I wonder if we should ban this in the verifier. It's not wrong, but it sure feels like bad form to allow cross bank copies involving physical registers


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

https://reviews.llvm.org/D98515



More information about the llvm-commits mailing list