We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbd7eab commit 367d502Copy full SHA for 367d502
mlir/python/mlir/ir.py
@@ -68,7 +68,7 @@ def _si1Attr(x, context):
68
69
70
@register_attribute_builder("SI8Attr")
71
-def _i8Attr(x, context):
+def _si8Attr(x, context):
72
return IntegerAttr.get(IntegerType.get_signed(8, context=context), x)
73
74
@@ -93,7 +93,7 @@ def _ui1Attr(x, context):
93
94
95
@register_attribute_builder("UI8Attr")
96
+def _ui8Attr(x, context):
97
return IntegerAttr.get(IntegerType.get_unsigned(8, context=context), x)
98
99
0 commit comments