summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TableGen
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2016-02-26 06:50:27 +0000
committerCraig Topper <craig.topper@gmail.com>2016-02-26 06:50:27 +0000
commit7f36be935e467dd77b17b94a5ff4cabe6ffe5a93 (patch)
treeb1b8c2a34e58bb73fb30d8d5d5b3be1a6fb89c1b /llvm/lib/TableGen
parentd50b5f8abcd51602b714fa17bf737177c368d537 (diff)
downloadbcm5719-llvm-7f36be935e467dd77b17b94a5ff4cabe6ffe5a93.tar.gz
bcm5719-llvm-7f36be935e467dd77b17b94a5ff4cabe6ffe5a93.zip
[TableGen] Fix typos in comments. NFC
llvm-svn: 261984
Diffstat (limited to 'llvm/lib/TableGen')
-rw-r--r--llvm/lib/TableGen/TGParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/TableGen/TGParser.cpp b/llvm/lib/TableGen/TGParser.cpp
index e167529e4c6..d3b6c50edff 100644
--- a/llvm/lib/TableGen/TGParser.cpp
+++ b/llvm/lib/TableGen/TGParser.cpp
@@ -2542,7 +2542,7 @@ bool TGParser::ParseDefm(MultiClass *CurMultiClass) {
// The record name construction goes as follow:
// - If the def name is a string, prepend the prefix.
// - If the def name is a more complex pattern, use that pattern.
- // As a result, the record is instanciated before resolving
+ // As a result, the record is instantiated before resolving
// arguments, as it would make its name a string.
Record *CurRec = InstantiateMulticlassDef(*MC, DefProto.get(), DefmPrefix,
SMRange(DefmLoc,
@@ -2551,7 +2551,7 @@ bool TGParser::ParseDefm(MultiClass *CurMultiClass) {
if (!CurRec)
return true;
- // Now that the record is instanciated, we can resolve arguments.
+ // Now that the record is instantiated, we can resolve arguments.
if (ResolveMulticlassDefArgs(*MC, CurRec, DefmLoc, SubClassLoc,
TArgs, TemplateVals, true/*Delete args*/))
return Error(SubClassLoc, "could not instantiate def");
OpenPOWER on IntegriCloud