[PATCH] D158234: [MLIR][Math] Add support for f16 in the expansion of math.roundeven

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 17 17:05:14 PDT 2023


alexander-shaposhnikov created this revision.
alexander-shaposhnikov added a reviewer: rsuderman.
alexander-shaposhnikov created this object with visibility "All Users".
Herald added subscribers: bviyer, Moerafaat, zero9178, bzcheeseman, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini.
Herald added a reviewer: rriddle.
Herald added a project: All.
alexander-shaposhnikov requested review of this revision.
Herald added a reviewer: nicolasvasilache.
Herald added subscribers: stephenneuendorffer, nicolasvasilache.
Herald added a project: MLIR.

Add support for f16 in the expansion of math.roundeven.
Associated GitHub issue: https://github.com/openxla/iree/issues/13522
This version addresses the build issues on Windows reported on https://reviews.llvm.org/D157204 .

Test plan: ninja check-mlir check-all


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158234

Files:
  mlir/include/mlir/ExecutionEngine/CRunnerUtils.h
  mlir/include/mlir/ExecutionEngine/Float16bits.h
  mlir/include/mlir/IR/BuiltinTypes.h
  mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
  mlir/test/CMakeLists.txt
  mlir/test/Dialect/Math/expand-math.mlir
  mlir/test/lit.cfg.py
  mlir/test/mlir-cpu-runner/test-expand-math-approx.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158234.551328.patch
Type: text/x-patch
Size: 25799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230818/b55b7ea3/attachment.bin>


More information about the llvm-commits mailing list