From 9fe8a74c432b9aaee9ac5c33be7ef11b11420427 Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Fri, 11 Feb 2022 13:48:28 +0000 Subject: [PATCH] [TableGen] Dump RC.Allocatable with -register-info-debug --- llvm/utils/TableGen/RegisterInfoEmitter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/utils/TableGen/RegisterInfoEmitter.cpp b/llvm/utils/TableGen/RegisterInfoEmitter.cpp index d753df169556..ecbb61806d4a 100644 --- a/llvm/utils/TableGen/RegisterInfoEmitter.cpp +++ b/llvm/utils/TableGen/RegisterInfoEmitter.cpp @@ -1717,6 +1717,7 @@ void RegisterInfoEmitter::debugDump(raw_ostream &OS) { OS << "\tLaneMask: " << PrintLaneMask(RC.LaneMask) << '\n'; OS << "\tHasDisjunctSubRegs: " << RC.HasDisjunctSubRegs << '\n'; OS << "\tCoveredBySubRegs: " << RC.CoveredBySubRegs << '\n'; + OS << "\tAllocatable: " << RC.Allocatable << '\n'; OS << "\tRegs:"; for (const CodeGenRegister *R : RC.getMembers()) { OS << " " << R->getName();