From eb76e24730e25efd72a18c34478b4beeebf35110 Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Thu, 5 Jun 2025 14:00:38 +0100 Subject: [PATCH] [TableGen] Remove last remnant of CompositeIndices The rest of the support was removed in 2012 by: 599593630999 "Remove support for 'CompositeIndices' and sub-register cycles." --- llvm/utils/TableGen/Common/CodeGenRegisters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/TableGen/Common/CodeGenRegisters.cpp b/llvm/utils/TableGen/Common/CodeGenRegisters.cpp index 6b0b1ccba80fb..42142a95fb91c 100644 --- a/llvm/utils/TableGen/Common/CodeGenRegisters.cpp +++ b/llvm/utils/TableGen/Common/CodeGenRegisters.cpp @@ -703,7 +703,7 @@ struct TupleExpander : SetTheory::Expander { RV.setValue(BitInit::get(RK, true)); // Copy fields from the RegisterTuples def. - if (Field == "SubRegIndices" || Field == "CompositeIndices") { + if (Field == "SubRegIndices") { NewReg->addValue(*Def->getValue(Field)); continue; }