HomePhabricator

[mlir][ODS] Use c++ types for integer attributes of fixed width when possible.

Authored by rriddle on Sep 1 2020, 1:32 PM.

Description

[mlir][ODS] Use c++ types for integer attributes of fixed width when possible.

Unsigned and Signless attributes use uintN_t and signed attributes use intN_t, where N is the fixed width. The 1-bit variants use bool.

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