This way, it should work even with complex operands.
Change-Id: Iaccf5bbb50bd5882a0ba5d59689e4381315fb361
Paths
| Differential D43554
TableGen: Generalize type deduction for !listconcat ClosedPublic Authored by nhaehnle on Feb 21 2018, 2:41 AM.
Details Summary This way, it should work even with complex operands. Change-Id: Iaccf5bbb50bd5882a0ba5d59689e4381315fb361
Diff Detail
Event Timelinenhaehnle added a child revision: D43555: TableGen: Fix type deduction for !foreach.Feb 21 2018, 2:41 AM Comment Actions While we're on the subject of !listconcat, is there a way to make !listconcat([1,2,3], []) work? This revision is now accepted and ready to land.Feb 21 2018, 11:02 AM Comment Actions Thanks. Some of my later patches should at least make !listconcat([1,2,3], []) easier to get to, but I can't test right now whether it's already working. The idea is to pass the correct ItemType to ParseValue when parsing the operands. Closed by commit rL325796: TableGen: Generalize type deduction for !listconcat (authored by nha). · Explain WhyFeb 22 2018, 7:28 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 135419 llvm/trunk/lib/TableGen/TGParser.cpp
llvm/trunk/test/TableGen/listconcat.td
|