Recursive lookups are handled by the Resolver, so the loop was purely
a waste of runtime.
Change-Id: I2bd23a68b478aea0bbac1a86ca7635adffa28688
Paths
| Differential D44624
TableGen: Remove redundant loop in ListInit::resolveReferences ClosedPublic Authored by nhaehnle on Mar 19 2018, 7:29 AM.
Details Summary Recursive lookups are handled by the Resolver, so the loop was purely Change-Id: I2bd23a68b478aea0bbac1a86ca7635adffa28688
Diff Detail
Event Timelinenhaehnle added a parent revision: D44478: TableGen: Streamline how defs are instantiated.Mar 19 2018, 7:30 AM This revision is now accepted and ready to land.Mar 19 2018, 1:29 PM Comment Actions Wow. There were 50 patches in the stack. Thank you, again, for making tablegen better. Closed by commit rL328118: TableGen: Remove redundant loop in ListInit::resolveReferences (authored by nha). · Explain WhyMar 21 2018, 10:17 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 139323 llvm/trunk/lib/TableGen/Record.cpp
|