aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorPrashant Kumar <pk5561@gmail.com>2024-05-07 22:19:28 +0530
committerGitHub <noreply@github.com>2024-05-07 22:19:28 +0530
commit72085698a244e10780a6f115269a2f88455c8cab (patch)
tree016a6cf31ca1a5f1d6dec28ff12730834ddae66c /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parent486695d154b23d0f66f3a5e054963b78d7d08d5a (diff)
downloadllvm-72085698a244e10780a6f115269a2f88455c8cab.zip
llvm-72085698a244e10780a6f115269a2f88455c8cab.tar.gz
llvm-72085698a244e10780a6f115269a2f88455c8cab.tar.bz2
[mlir][math] Add Polynomial Approximation for acos, asin op (#90962)
Adds the Polynomial Approximation for math.acos and math.asin op. Also, it adds integration tests. The Approximation has been borrowed from https://stackoverflow.com/a/42683455 I added this script: https://gist.github.com/pashu123/cd3e682b21a64ac306f650fb842a422b to test 50 values between -1 and 1. The results are https://gist.github.com/pashu123/8acb233bd045bacabfa8c992d4040465. It's well within the bounds.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions