commit | 864f36e2550816c8a4363fd829ff322f1b97163b | [log] [tgz] |
---|---|---|
author | Lei Zhang <antiagainst@google.com> | Wed Feb 06 05:06:11 2019 -0800 |
committer | jpienaar <jpienaar@google.com> | Fri Mar 29 16:16:28 2019 -0700 |
tree | b6f721cca33047a2fcef9893ca500cb880d23fa9 | |
parent | 0df444db8db1c12ce2146dddaa150b04c43ff06c [diff] |
[TableGen] Model variadic operands using Variadic<Type> Previously, we were using the trait mechanism to specify that an op has variadic operands. That led a discrepancy between how we handle ops with deterministic number of operands. Besides, we have no way to specify the constraints and match against the variadic operands. This CL introduced Variadic<Type> as a way to solve the above issues. PiperOrigin-RevId: 232656104