This is an archive of the discontinued LLVM Phabricator instance.

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
a waste of runtime.

Change-Id: I2bd23a68b478aea0bbac1a86ca7635adffa28688

Diff Detail

Repository
rL LLVM

Event Timeline

nhaehnle created this revision.Mar 19 2018, 7:29 AM
tra accepted this revision.Mar 19 2018, 1:29 PM
This revision is now accepted and ready to land.Mar 19 2018, 1:29 PM
tra added a comment.Mar 19 2018, 1:33 PM

Wow. There were 50 patches in the stack. Thank you, again, for making tablegen better.

This revision was automatically updated to reflect the committed changes.