[all-commits] [llvm/llvm-project] 2f9f9a: [mlir] Add polynomial approximation for atan and a...
Rob Suderman via All-commits
all-commits at lists.llvm.org
Fri Jan 21 12:31:37 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2f9f9afa4e1281b4ac7c8ad36860a4e35e6f5070
https://github.com/llvm/llvm-project/commit/2f9f9afa4e1281b4ac7c8ad36860a4e35e6f5070
Author: Rob Suderman <rob.suderman at gmail.com>
Date: 2022-01-21 (Fri, 21 Jan 2022)
Changed paths:
M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
M mlir/test/Dialect/Math/polynomial-approximation.mlir
M mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir
Log Message:
-----------
[mlir] Add polynomial approximation for atan and atan2
Implement a taylor series approximation for atan and add an atan2 lowering
that uses atan's appromation. This includes tests for edge cases and tests
for each quadrant.
Reviewed By: NatashaKnk
Differential Revision: https://reviews.llvm.org/D115682
More information about the All-commits
mailing list