mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-07 10:11:57 +00:00
Skip the NAME field when forming tuples.
llvm-svn: 148147
This commit is contained in:
parent
796cca6eff
commit
c477c8d35e
@ -215,6 +215,9 @@ struct TupleExpander : SetTheory::Expander {
|
|||||||
for (unsigned i = 0, e = Proto->getValues().size(); i != e; ++i) {
|
for (unsigned i = 0, e = Proto->getValues().size(); i != e; ++i) {
|
||||||
RecordVal RV = Proto->getValues()[i];
|
RecordVal RV = Proto->getValues()[i];
|
||||||
|
|
||||||
|
if (RV.getName() == "NAME")
|
||||||
|
continue;
|
||||||
|
|
||||||
// Replace the sub-register list with Tuple.
|
// Replace the sub-register list with Tuple.
|
||||||
if (RV.getName() == "SubRegs")
|
if (RV.getName() == "SubRegs")
|
||||||
RV.setValue(ListInit::get(Tuple, RegisterRecTy));
|
RV.setValue(ListInit::get(Tuple, RegisterRecTy));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user