ODS: introduce ParamNativeOpTrait
In MLIR C++ implementation, certain OpTraits are parameterized by values or types using nested class templates. These traits correspond to trait identifiers of the form "OpTrait::TraitName<Parameters>::Impl". Such long names are arguably too verbose to be spelled out entirely as NativeOpTrait in ODS and obscure the fact of parameterization. Introduce ParamNativeOpTrait to generate such trait identifiers from the base name and the parameters directly in ODS. Exercise the functionality on the SingleBlockImplicitTerminator trait. PiperOrigin-RevId: 259308796
Loading
Please sign in to comment