forked from OSchip/llvm-project
76cb205326
Previously, attribute constraints are basically unused: we set true for almost anything. This CL refactors common attribute kinds and sets constraints on them properly. And fixed verification failures found by this change. A noticeable one is that certain TF ops' attributes are required to be 64-bit integer, but the corresponding TFLite ops expect 32-bit integer attributes. Added bitwidth converters to handle this difference. -- PiperOrigin-RevId: 241944008 |
||
---|---|---|
.. | ||
attr-enum.td | ||
directive-verifyUnusedValue.td | ||
op-attribute.td | ||
op-decl.td | ||
op-operand.td | ||
op-result.td | ||
pattern-attr.td | ||
pattern-benefit.td | ||
pattern-bound-symbol.td | ||
pattern-multi-result-op.td | ||
pattern-tAttr.td | ||
pattern.td | ||
predicate.td | ||
reference-impl.td |