summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-11-29 00:59:04 +0000
committerTed Kremenek <kremenek@apple.com>2007-11-29 00:59:04 +0000
commiteda40e273ee6c25ca2b22d2be9ca0ff3ebb943bd (patch)
treed6e8e77f7bb96d726b6fd37ed70536b6e743a320 /llvm/lib/CodeGen
parent3a2c95040144211668e9b42101c6548acea4adaf (diff)
downloadbcm5719-llvm-eda40e273ee6c25ca2b22d2be9ca0ff3ebb943bd.tar.gz
bcm5719-llvm-eda40e273ee6c25ca2b22d2be9ca0ff3ebb943bd.zip
Enhanced implementation of -Wfloat-equal to check for comparisons against
floating-point literals that are represented exactly by the APFloat in FloatingLiteral. For such literals, we do not emit a warning since such checks are often performed in real code to see if a variable has changed from its original value. This heuristic clearly can lead to false negatives, but the hope is it will significantly reduce false positives to help make the compiler flag more useful. llvm-svn: 44424
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud