[llvm] [TableGen] Remove last remnant of CompositeIndices (PR #142960)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 5 06:06:35 PDT 2025
https://github.com/jayfoad created https://github.com/llvm/llvm-project/pull/142960
The rest of the support was removed in 2012 by:
599593630999 "Remove support for 'CompositeIndices' and sub-register cycles."
>From eb76e24730e25efd72a18c34478b4beeebf35110 Mon Sep 17 00:00:00 2001
From: Jay Foad <jay.foad at amd.com>
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;
}
More information about the llvm-commits
mailing list