diff options
| author | Anton Sidorenko <anton.sidorenko@syntacore.com> | 2022-11-30 17:57:33 +0300 |
|---|---|---|
| committer | Anton Sidorenko <anton.sidorenko@syntacore.com> | 2022-12-15 13:00:36 +0300 |
| commit | 37f9eec14298731b0e2ca724c101478994df4243 (patch) | |
| tree | c4ee5634574ecb9d5bb9b54973815c13210515e7 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 619f455dee067988458988fbdedfe761bc364f13 (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
