[Mlir-commits] [mlir] [MLIR][XeVM] Add xevm.extf op as the inverse of xevm.truncf (PR #203124)
Sang Ik Lee
llvmlistbot at llvm.org
Fri Jun 12 12:03:28 PDT 2026
silee2 wrote:
> LGTM, thanks. Alongside round trips, can we have an example that checks that the raw up-/down-converted result is properly converted?
Added `mlir/test/Integration/Dialect/XeVM/GPU/xevm_truncf_extf_raw.mlir`. In addition to the round trip, it writes out and checks the raw down-converted f8 (E4M3FN) bytes (e.g. `1.0 → 0x38`, `16.0 → 0x58`) and the up-converted f16 values, so both directions are verified against known constants rather than just round-trip identity.
https://github.com/llvm/llvm-project/pull/203124
More information about the Mlir-commits
mailing list