← vector dialect
Apply a numeric transform to invocation-local vector register lanes. A #transform.hadamard descriptor applies a Sylvester Hadamard transform independently along the final vector axis. Distribution across subgroup lanes is explicit in the surrounding program and is not implied by this operation.
Operation contract
| Property |
Value |
| Semantic phase |
— |
| Traits |
Pure |
Signature
| Kind |
Name |
Type |
Cardinality |
Description |
| Operand |
source |
vector |
required |
Vector lanes to transform. |
| Operand |
transform |
encoding<transform> |
required |
Numeric transform descriptor. |
| Result |
result |
vector |
required |
Transformed vector lanes. |
Verification constraints
HasFloatElement(source)
HasFloatElement(result)
SameType(source, result)
Examples
%r = vector.transform %v, %xf : vector<8xf32>, encoding<transform> -> vector<8xf32>