[llvm] [AMDGPU] Have VCC as a first-class member of the SGPR pool. (PR #173870)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 30 07:30:26 PST 2026


================
@@ -181,6 +181,7 @@ def VCC : RegisterWithSubRegs<"vcc", [VCC_LO, VCC_HI]> {
   let Namespace = "AMDGPU";
   let SubRegIndices = [sub0, sub1];
   let HWEncoding = VCC_LO.HWEncoding;
+  let CoveredBySubRegs = 1;
----------------
arsenm wrote:

Why wasn't this set before? Can you precommit this?

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


More information about the llvm-commits mailing list