aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorostannard <oliver.stannard@arm.com>2024-02-13 09:13:22 +0000
committerGitHub <noreply@github.com>2024-02-13 09:13:22 +0000
commit44706bd4f0e26f86eda24e4888044897fd4f92a8 (patch)
tree95dfddacaeae2a379ae84c0344373c47c495ef83 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parentd860ea96b1d4bcc13bf269e9b108d8f5e0c21d93 (diff)
downloadllvm-44706bd4f0e26f86eda24e4888044897fd4f92a8.zip
llvm-44706bd4f0e26f86eda24e4888044897fd4f92a8.tar.gz
llvm-44706bd4f0e26f86eda24e4888044897fd4f92a8.tar.bz2
[InstCombine] Don't add fcmp instructions to strictfp functions (#81498)
The strictfp attribute has the requirement that "LLVM will not introduce any new floating-point instructions that may trap". The llvm.is.fpclass intrinsic is documented as "The function never raises floating-point exceptions", and the fcmp instruction may raise one, so we can't transform the former into the latter in functions with the strictfp attribute.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions