projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23d1c5c
)
Skip the NAME field when forming tuples.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Fri, 13 Jan 2012 22:23:50 +0000
(22:23 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Fri, 13 Jan 2012 22:23:50 +0000
(22:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148147
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/CodeGenRegisters.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/CodeGenRegisters.cpp
b/utils/TableGen/CodeGenRegisters.cpp
index 26d0180b5c0f86991c152c0e9cb63b29ec507f2f..889acdd82aa5b9376eb90adb31aca1a0ee007ac7 100644
(file)
--- a/
utils/TableGen/CodeGenRegisters.cpp
+++ b/
utils/TableGen/CodeGenRegisters.cpp
@@
-215,6
+215,9
@@
struct TupleExpander : SetTheory::Expander {
for (unsigned i = 0, e = Proto->getValues().size(); i != e; ++i) {
RecordVal RV = Proto->getValues()[i];
+ if (RV.getName() == "NAME")
+ continue;
+
// Replace the sub-register list with Tuple.
if (RV.getName() == "SubRegs")
RV.setValue(ListInit::get(Tuple, RegisterRecTy));