[llvm] [TableGen] Remove last remnant of CompositeIndices (PR #142960)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 5 06:07:14 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-tablegen
Author: Jay Foad (jayfoad)
<details>
<summary>Changes</summary>
The rest of the support was removed in 2012 by:
599593630999 "Remove support for 'CompositeIndices' and sub-register cycles."
---
Full diff: https://github.com/llvm/llvm-project/pull/142960.diff
1 Files Affected:
- (modified) llvm/utils/TableGen/Common/CodeGenRegisters.cpp (+1-1)
``````````diff
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;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/142960
More information about the llvm-commits
mailing list