TableGen: Allow ? in lists

Authored by nhaehnle on Mon, Mar 5, 12:19 PM.



This makes using !dag more convenient in some cases.

Change-Id: I0a8c35e15ccd1ecec778fd1c8d64eee38d74517c

Diff Detail

nhaehnle created this revision.Mon, Mar 5, 12:19 PM
tra accepted this revision.Tue, Mar 6, 1:38 PM

One test nit. Perhaps should be fixed in a separate patch before this one. LGTM otherwise.

11 ↗(On Diff #137059)

I assume we do care about the value of the dag ret, not just the fact that the record got defined. If so, I think there's a CHECK missing here and in the rest of the checks in the file.

This revision is now accepted and ready to land.Tue, Mar 6, 1:38 PM
nhaehnle added inline comments.Wed, Mar 7, 2:40 AM
11 ↗(On Diff #137059)

Ooops, thanks for pointing that out! :)

Closed by commit rL327493: TableGen: Allow ? in lists (authored by nha, committed by ). · Explain WhyWed, Mar 14, 4:03 AM
This revision was automatically updated to reflect the committed changes.