diff options
author | Balaji V. Iyer <bviyer@gmail.com> | 2023-04-13 15:54:21 +0000 |
---|---|---|
committer | Robert Suderman <suderman@google.com> | 2023-04-13 16:06:04 +0000 |
commit | 4da96515ea8552cdf14c6aa6310d2a91fbe74641 (patch) | |
tree | 1488f1e84330180fb97fa1c9683f792d38e1284f /llvm/lib/CodeGen/StackProtector.cpp | |
parent | ba19fb3bd7e87b749fc1ffe16649150512c6eda4 (diff) | |
download | llvm-4da96515ea8552cdf14c6aa6310d2a91fbe74641.zip llvm-4da96515ea8552cdf14c6aa6310d2a91fbe74641.tar.gz llvm-4da96515ea8552cdf14c6aa6310d2a91fbe74641.tar.bz2 |
[mlir][math] Expand math.exp2 to use math.exp.
Exp2 functions are pushed directly to libm. This is problematic for
situations where libm is not available. This patch will expand the exp2
function to use exp2 with the input multiplied by ln2 (natural log).
Reviewed By: rsuderman
Differential Revision: https://reviews.llvm.org/D148064
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions