Commit 5dbd049
authored
[mlir][arith]
Add support for vectorized operations such as `arith.addf ... :
vector<4xf4E2M1FN>`. The computation is scalarized: scalar operands are
extracted with `vector.to_elements`, multiple scalar computations are
performed and the result is inserted back into a vector with
`vector.from_elements`.arith-to-apfloat: Add vector support (#171024)1 parent 7bfdaa5 commit 5dbd049
File tree
5 files changed
+430
-265
lines changed- mlir
- include/mlir/Conversion
- lib/Conversion/ArithToAPFloat
- test
- Conversion/ArithToApfloat
- Integration/Dialect/Arith/CPU
5 files changed
+430
-265
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
| 202 | + | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
| |||
0 commit comments