[llvm] [AMDGPU][GlobalISel] Add register bank legalize rules for amdgcn_icmp, amdgcn_fcmp (PR #172017)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 08:25:47 PDT 2026


================
@@ -1634,6 +1634,10 @@ static bool isLaneMaskFromSameBlock(Register Reg, MachineRegisterInfo &MRI,
       return true;
   }
 
+  // Lane mask generated by SCC to VCC copy (GlobalISel).
+  if (MI->getOpcode() == AMDGPU::G_AMDGPU_COPY_VCC_SCC)
+    return true;
----------------
anjenner wrote:

Moved to https://github.com/llvm/llvm-project/pull/202923 .

https://github.com/llvm/llvm-project/pull/172017


More information about the llvm-commits mailing list