Skip to content

global.store

global dialect

Store a value to a global. Dynamic dims and encodings are captured implicitly from the type annotation, which references existing SSA values. The verifier checks that stores to global.constant only happen from initializer-reachable code paths.

Operation contract

Property Value
Semantic phase
Traits UnknownEffects

Signature

Kind Name Type Cardinality Description
Operand value any required The value to store.
Attribute global symbol (global) required

Examples

global.store %tile, @kv_cache : tile<[%m]xf32>
global.store %table, @lut : tile<16x32xf32>