[llvm] f871466 - [TableGen] Remove last remnant of CompositeIndices (#142960)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 5 09:01:59 PDT 2025


Author: Jay Foad
Date: 2025-06-05T17:01:55+01:00
New Revision: f8714666b1d1442cb1174e69032415fc54a31779

URL: https://github.com/llvm/llvm-project/commit/f8714666b1d1442cb1174e69032415fc54a31779
DIFF: https://github.com/llvm/llvm-project/commit/f8714666b1d1442cb1174e69032415fc54a31779.diff

LOG: [TableGen] Remove last remnant of CompositeIndices (#142960)

The rest of the support was removed in 2012 by:
599593630999 "Remove support for 'CompositeIndices' and sub-register cycles."

Added: 
    

Modified: 
    llvm/utils/TableGen/Common/CodeGenRegisters.cpp

Removed: 
    


################################################################################
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