[PATCH] D43519: [tblgen] Allow !cast to records that don't yet exist during multiclass parsing.
Artem Belevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 20 11:24:41 PST 2018
tra created this revision.
tra added reviewers: arsenm, craig.topper, nhaehnle.
Herald added subscribers: hiraditya, jlebar, wdng, sanjoy.
This makes tablegen's behavior more consistent with the way it lazily folds other operators.
E.g. it's perfectly fine to have a binary/ternary ops that can't be folded at the time of multiclass parsing.
https://reviews.llvm.org/D43519
Files:
llvm/include/llvm/TableGen/Record.h
llvm/lib/TableGen/Record.cpp
llvm/lib/TableGen/TGParser.cpp
llvm/test/TableGen/MultiClass-defm-fail.td
llvm/test/TableGen/MultiClass-defm.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43519.135111.patch
Type: text/x-patch
Size: 6132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180220/cff34b9f/attachment.bin>
More information about the llvm-commits
mailing list