aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageViewText.cpp
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-10-19 15:13:15 +0200
committerGitHub <noreply@github.com>2024-10-19 06:13:15 -0700
commit5785cbb40570c3847aa994b2d2b7e03321eee7eb (patch)
tree1bd9b41aea41d4bbadc04539c648965c8df9d439 /llvm/tools/llvm-cov/SourceCoverageViewText.cpp
parent8fe49b0bbef5134c87adc2719165392fca1865c3 (diff)
downloadllvm-5785cbb40570c3847aa994b2d2b7e03321eee7eb.zip
llvm-5785cbb40570c3847aa994b2d2b7e03321eee7eb.tar.gz
llvm-5785cbb40570c3847aa994b2d2b7e03321eee7eb.tar.bz2
[llvm] Ensure that soft float targets don't emit `fma()` libcalls. (#106615)
The previous behavior could be harmful in some edge cases, such as emitting a call to `fma()` in the `fma()` implementation itself. Do this by just being more accurate in `isFMAFasterThanFMulAndFAdd()`. This was already done for PowerPC; this commit just extends that to Arm, z/Arch, and x86. MIPS and SPARC already got it right, but I added tests for them too, for good measure. Note: I don't have commit access.
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewText.cpp')
0 files changed, 0 insertions, 0 deletions