[PATCH] D43561: TableGen: Avoid using resolveListElementReference in TGParser
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 23 02:48:37 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL325886: TableGen: Avoid using resolveListElementReference in TGParser (authored by nha, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D43561
Files:
llvm/trunk/lib/TableGen/TGParser.cpp
Index: llvm/trunk/lib/TableGen/TGParser.cpp
===================================================================
--- llvm/trunk/lib/TableGen/TGParser.cpp
+++ llvm/trunk/lib/TableGen/TGParser.cpp
@@ -317,7 +317,7 @@
// Process each value.
for (unsigned i = 0; i < List->size(); ++i) {
- Init *ItemVal = List->resolveListElementReference(*CurRec, nullptr, i);
+ Init *ItemVal = List->getElement(i)->resolveReferences(*CurRec, nullptr);
IterVals.push_back(IterRecord(CurLoop.IterVar, ItemVal));
if (ProcessForeachDefs(CurRec, Loc, IterVals))
return true;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43561.135619.patch
Type: text/x-patch
Size: 596 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180223/df343ba5/attachment.bin>
More information about the llvm-commits
mailing list