This is an archive of the discontinued LLVM Phabricator instance.

TableGen: Fix type deduction for !foreach
ClosedPublic

Authored by nhaehnle on Feb 21 2018, 2:41 AM.

Details

Summary

In the case of !foreach(id, input-list, transform) where the type of
input-list is list<A> and the type of transform is B, we now correctly
deduce list<B> as the type of the !foreach.

Change-Id: Ia19dd65eecc5991dd648280ba6a15f6a20fd61de

Diff Detail

Repository
rL LLVM

Event Timeline

nhaehnle created this revision.Feb 21 2018, 2:41 AM
tra accepted this revision.Feb 21 2018, 1:04 PM
This revision is now accepted and ready to land.Feb 21 2018, 1:04 PM
This revision was automatically updated to reflect the committed changes.