[all-commits] [llvm/llvm-project] 2f9775: [mlir][wasm] Support for saturating FP truncations...

Luc Forget via All-commits all-commits at lists.llvm.org
Fri Aug 7 20:48:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f9775ad49bf8eb0d4a54592d40652df3e4f38dd
      https://github.com/llvm/llvm-project/commit/2f9775ad49bf8eb0d4a54592d40652df3e4f38dd
  Author: Luc Forget <dev at alias.lforget.fr>
  Date:   2026-08-08 (Sat, 08 Aug 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/WasmSSA/IR/WasmSSAOps.td
    M mlir/include/mlir/Target/Wasm/WasmBinaryEncoding.h
    M mlir/lib/Target/Wasm/TranslateFromWasm.cpp
    A mlir/test/Target/Wasm/inputs/trunc_sat.yaml.wasm
    A mlir/test/Target/Wasm/trunc_sat.mlir

  Log Message:
  -----------
  [mlir][wasm] Support for saturating FP truncations (#212709)

Add support for saturate truncation of float to int operations.

This also requires the support of parser with sub-opcodes.
This is handled by supporting parser with extra argument for sub-opcode.

---------

Co-authored-by: Ferdinand Lemaire <ferdinand.lemaire at woven-planet.global>



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