diff options
| author | Hal Finkel <hfinkel@anl.gov> | 2015-05-21 04:32:56 +0000 |
|---|---|---|
| committer | Hal Finkel <hfinkel@anl.gov> | 2015-05-21 04:32:56 +0000 |
| commit | d24973657241dd53afbbf365d52a44b8a28062bc (patch) | |
| tree | 6233179a2e6750d2660164c2917779989b0540d7 /llvm/lib/TableGen/TGParser.h | |
| parent | 0b73d71abb5f08e435a6731bc65f4cb9d755f00c (diff) | |
| download | bcm5719-llvm-d24973657241dd53afbbf365d52a44b8a28062bc.tar.gz bcm5719-llvm-d24973657241dd53afbbf365d52a44b8a28062bc.zip | |
[TableGen] Resolve complex def names inside multiclasses
We had not been trying hard enough to resolve def names inside multiclasses
that had complex concatenations, etc. Now we'll try harder.
Patch by Amaury Sechet!
llvm-svn: 237877
Diffstat (limited to 'llvm/lib/TableGen/TGParser.h')
| -rw-r--r-- | llvm/lib/TableGen/TGParser.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/TableGen/TGParser.h b/llvm/lib/TableGen/TGParser.h index 22a00e59195..d69d1f4572f 100644 --- a/llvm/lib/TableGen/TGParser.h +++ b/llvm/lib/TableGen/TGParser.h @@ -138,7 +138,9 @@ private: // Parser methods. Record *InstantiateMulticlassDef(MultiClass &MC, Record *DefProto, Init *&DefmPrefix, - SMRange DefmPrefixRange); + SMRange DefmPrefixRange, + const std::vector<Init *> &TArgs, + std::vector<Init *> &TemplateVals); bool ResolveMulticlassDefArgs(MultiClass &MC, Record *DefProto, SMLoc DefmPrefixLoc, |

