[all-commits] [llvm/llvm-project] 5dbd04: [mlir][arith] `arith-to-apfloat`: Add vector suppo...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sun Dec 7 11:56:09 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5dbd049662001535a475cdb7d290dfb63a0515fc
      https://github.com/llvm/llvm-project/commit/5dbd049662001535a475cdb7d290dfb63a0515fc
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-12-07 (Sun, 07 Dec 2025)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/ArithToAPFloat/ArithToAPFloat.cpp
    M mlir/lib/Conversion/ArithToAPFloat/CMakeLists.txt
    M mlir/test/Conversion/ArithToApfloat/arith-to-apfloat.mlir
    A mlir/test/Integration/Dialect/Arith/CPU/test-apfloat-emulation-vector.mlir

  Log Message:
  -----------
  [mlir][arith] `arith-to-apfloat`: Add vector support (#171024)

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`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list