summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAnton Sidorenko <anton.sidorenko@syntacore.com>2022-11-30 17:57:33 +0300
committerAnton Sidorenko <anton.sidorenko@syntacore.com>2022-12-15 13:00:36 +0300
commit37f9eec14298731b0e2ca724c101478994df4243 (patch)
treec4ee5634574ecb9d5bb9b54973815c13210515e7 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent619f455dee067988458988fbdedfe761bc364f13 (diff)
[RISCV] Allow conversion of fp divisions to fp multiplications by the reciprocal
If the divisor is repeated at least twice, we will convert the FDIVs to the calculation of the reciprocal and FMULs. We perform the transformation only under fast-math mode. FDIVs must have 'arcp' flag. Differential Revision: https://reviews.llvm.org/D140024
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions