aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorBalaji V. Iyer <bviyer@gmail.com>2023-08-25 15:15:28 -0700
committerRob Suderman <suderman@google.com>2023-08-25 15:35:05 -0700
commitf66e4bd67adf0b0aaecd94154c38f02253bf7190 (patch)
treeab345938fe1c7eab0ea9c767ba43a05ede0dd757 /llvm/lib/Object/WasmObjectFile.cpp
parentf8838f85e13e6030426183dd58db259b17e8e7e8 (diff)
downloadllvm-f66e4bd67adf0b0aaecd94154c38f02253bf7190.zip
llvm-f66e4bd67adf0b0aaecd94154c38f02253bf7190.tar.gz
llvm-f66e4bd67adf0b0aaecd94154c38f02253bf7190.tar.bz2
[mlir][math] Modify math.powf to handle negative bases.
Powf expansion currently returns NaN when the base is negative. This is because taking natural log of a negative number gives NaN. This patch will square the base and half the exponent, thereby getting around the negative base problem. Reviewed By: rsuderman Differential Revision: https://reviews.llvm.org/D158797
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions