google / heir

A compiler for homomorphic encryption
https://heir.dev/
Apache License 2.0
348 stars 49 forks source link

Docs for some dialects include upstream attributes #1103

Open j2kun opened 2 days ago

j2kun commented 2 days ago

The website docs for some dialects include generated attributes from upstream, e.g., polynomial dialect currently shows

AffineMapAttr
ArrayAttr
DenseArrayAttr
DenseIntOrFPElementsAttr
DenseResourceElementsAttr
DenseStringElementsAttr
DictionaryAttr
FloatAttr
IntegerAttr
IntegerSetAttr
OpaqueAttr
SparseElementsAttr
StringAttr
SymbolRefAttr
TypeAttr
UnitAttr
FloatPolynomialAttr
IntPolynomialAttr
PrimitiveRootAttr
RingAttr
TypedFloatPolynomialAttr
TypedIntPolynomialAttr
StridedLayoutAttr

When it should just show

FloatPolynomialAttr
IntPolynomialAttr
PrimitiveRootAttr
RingAttr
TypedFloatPolynomialAttr
TypedIntPolynomialAttr

Same for the mod-arith dialect. I think this is just a tablegen separation issue.