diff options
| author | Lei Zhang <antiagainst@google.com> | 2019-04-04 09:25:38 -0700 |
|---|---|---|
| committer | Mehdi Amini <joker.eph@gmail.com> | 2019-04-05 07:40:50 -0700 |
| commit | 76cb20532636eb52300970d2b3eb00101b3821a1 (patch) | |
| tree | 209584d042e4857f3f0cdca81c84a62c0232685e /mlir/lib/Transforms/LoopTiling.cpp | |
| parent | c7790df2ed9bdcde12683aee6cb89a2668b56661 (diff) | |
| download | bcm5719-llvm-76cb20532636eb52300970d2b3eb00101b3821a1.tar.gz bcm5719-llvm-76cb20532636eb52300970d2b3eb00101b3821a1.zip | |
[TableGen] Enforce constraints on attributes
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
Diffstat (limited to 'mlir/lib/Transforms/LoopTiling.cpp')
0 files changed, 0 insertions, 0 deletions

