Skip to content

check.generate.fill

check dialect

Generates a value filled with one static scalar payload.

Operation contract

Property Value
Semantic phase
Traits Pure, HasAncestor(check.case)

Signature

Kind Name Type Cardinality Description
Result result any required
Attribute value any required

Verification constraints

  • LiteralMatchesElementType(value, result)

Examples

%rhs = check.generate.fill value(17) : tensor<[%m]x[%n]xi32>