aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorSlava Zakharin <szakharin@nvidia.com>2022-12-13 09:52:08 -0800
committerSlava Zakharin <szakharin@nvidia.com>2022-12-13 12:15:35 -0800
commit22702cc76c4d6fcd3ee0e37ca826c539af146494 (patch)
tree29cb7fe4e24647bf5a9c180ad2acb8d3615c37df /llvm/lib/Object/MachOObjectFile.cpp
parent9b8fcd04ef64cbe124f30b8cb49633b785b840d7 (diff)
downloadllvm-22702cc76c4d6fcd3ee0e37ca826c539af146494.zip
llvm-22702cc76c4d6fcd3ee0e37ca826c539af146494.tar.gz
llvm-22702cc76c4d6fcd3ee0e37ca826c539af146494.tar.bz2
[mlir][math] Added math::FPowI conversion to calls of outlined implementations.
Power functions are implemented as linkonce_odr scalar functions for FPowI operations met in a module. Vector form of FPowI is linearized into a sequence of calls of the scalar functions. Option {min-width-of-fpowi-exponent} controls which FPowI operations are converted by MathToFuncs: if the width of the exponent's integer type is less than the specified value, then the operation is not converted. Flang will specify {min-width-of-fpowi-exponent=33} to make sure that math::FPowI operations with exponent wider than 32 bits will be converted by MathToFuncs, and operations with more narrow exponent will be left for MathToLLVM to convert them to LLVM::PowIOp. Reviewed By: Mogball Differential Revision: https://reviews.llvm.org/D139804
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions