aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorAlex Bradbury <asb@igalia.com>2023-10-02 21:20:38 +0100
committerGitHub <noreply@github.com>2023-10-02 21:20:38 +0100
commit0152e1f2d5504b695cfa66dc67567bec608efd6e (patch)
treef13e74e04427f7a6e08ccdf6574157f00de46189 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parent3dda1040d3fe56dbd8afd2eb823e891954de13f3 (diff)
downloadllvm-0152e1f2d5504b695cfa66dc67567bec608efd6e.zip
llvm-0152e1f2d5504b695cfa66dc67567bec608efd6e.tar.gz
llvm-0152e1f2d5504b695cfa66dc67567bec608efd6e.tar.bz2
[RISCV] Fix incorrect codegen for Zfa with negated forms of constants in the lookup table (#68026)
The logic in `RISCVLoadFPImm::getLoadFPImm` recognises that the only supported negative value is -1.0, but due to a typo returns `false` otherwise (entry 0, which is -1.0) rather than returning -1 (indicating no match found).
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions