vector.splatf
← vector dialect
Materialize a floating-point vector whose every lane has the same floating-point literal. The result element type determines the target floating-point format.
Operation contract
| Property |
Value |
| Semantic phase |
executable |
| Traits |
Pure, ConstantLike, RefinableResultTypeRefs |
Signature
| Kind |
Name |
Type |
Cardinality |
Description |
| Result |
result |
vector |
required |
— |
| Attribute |
value |
f64 |
required |
The floating-point splat value. |
Verification constraints
Examples
%v = vector.splatf 0.0 : vector<4xf32>