[PATCH] D48326: [RFC] "Alternative" matches for TableGen DAG patterns

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 11:13:03 PDT 2018


kparzysz added a comment.

I don't think that the new keyword is necessary.  Why not have a new class `Patterns`that takes a list of input dag patterns (otherwise identical to the current `Pattern`), and matches when any of these inputs matches?  Then you can have a `PatFrags` as an analogy to `PatFrag`.


Repository:
  rL LLVM

https://reviews.llvm.org/D48326





More information about the llvm-commits mailing list