[PATCH] D43519: [tblgen] Allow !cast to records that don't yet exist during multiclass parsing.

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 6 06:16:14 PST 2018


nhaehnle added a comment.

I think I'm partially changing my mind on this. There are some indirect self-references already happening in existing .td files, and after looking at a number of different approaches I'm inclined to add something like your change here, suitably adapted. A side benefit is that the rule in LangIntro about how !cast works becomes simpler and less dependent on the implementation details of variable resolution.


https://reviews.llvm.org/D43519





More information about the llvm-commits mailing list