HomePhabricator

[MLIR] Add IndexAttr to primitive attributes kinds in tablegen.

Authored by ulysseB on Apr 16 2020, 1:28 AM.

Description

[MLIR] Add IndexAttr to primitive attributes kinds in tablegen.

Summary:
OpBase.td defined attributes kind for all integer types expect index. This
commit fixes that by adding an IndexAttr attribute kind.

Differential Revision: https://reviews.llvm.org/D78195