[all-commits] [llvm/llvm-project] 310824: [MLIR][math] Use approximate matches for folded ops
Jeff Niu via All-commits
all-commits at lists.llvm.org
Wed Sep 14 08:40:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3108249deaf1985a482598c5e9244b77750e172c
https://github.com/llvm/llvm-project/commit/3108249deaf1985a482598c5e9244b77750e172c
Author: Jeff Niu <jeff at modular.com>
Date: 2022-09-14 (Wed, 14 Sep 2022)
Changed paths:
M mlir/test/Dialect/Math/canonicalize.mlir
Log Message:
-----------
[MLIR][math] Use approximate matches for folded ops
LibM implementations differ, so the folders can have different results
on different platforms. For instance, the `cos` folder was failing on M1
mac. I chose to match the constant floats to 2(.5) significant digits.
Reviewed By: jacquesguan
Differential Revision: https://reviews.llvm.org/D133797
More information about the All-commits
mailing list