[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:25 PST 2026


================
@@ -2784,7 +2785,23 @@ ParseStatus AMDGPUAsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc,
 
 bool AMDGPUAsmParser::AddNextRegisterToList(MCRegister &Reg, unsigned &RegWidth,
                                             RegisterKind RegKind,
-                                            MCRegister Reg1, SMLoc Loc) {
+                                            MCRegister Reg1,
+                                            RegisterKind RegKind1, SMLoc Loc) {
+  // Allow VCC_LO/HI at the end of SGPR lists.
----------------
arsenm wrote:

I'm not sure I understand why this requires special casing in the parser

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


More information about the llvm-commits mailing list