aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ProfileData/CoverageMappingTest.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2024-02-14 13:55:51 +0000
committerGitHub <noreply@github.com>2024-02-14 13:55:51 +0000
commit6c84709eff20460a75fb58d2face54432c133967 (patch)
tree08622e962a2bba4ad3d6f857faba6dec0fdcbefa /llvm/unittests/ProfileData/CoverageMappingTest.cpp
parentf723260a80baee08394093fa06777dcc55b3ee4a (diff)
downloadllvm-6c84709eff20460a75fb58d2face54432c133967.zip
llvm-6c84709eff20460a75fb58d2face54432c133967.tar.gz
llvm-6c84709eff20460a75fb58d2face54432c133967.tar.bz2
[AArch64] Materialize constants via fneg. (#80641)
This is something that is already done as a special case for copysign, this patch extends it to be more generally applied. If we are trying to matrialize a negative constant (notably -0.0, 0x80000000), then there may be no movi encoding that creates the immediate, but a fneg(movi) might. Some of the existing patterns for RADDHN needed to be adjusted to keep them in line with the new immediates.
Diffstat (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp')
0 files changed, 0 insertions, 0 deletions