summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGOpenCLRuntime.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-03-27 23:20:25 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-03-27 23:20:25 +0000
commit2b01d5089bf08939cea9fc6af5a396ff1a7e2d47 (patch)
treed064e041d0ba73772a98fe283fae076157cc718d /clang/lib/CodeGen/CGOpenCLRuntime.cpp
parentd6be4bf87f330189f772962f66faefe6ccbd843a (diff)
downloadbcm5719-llvm-2b01d5089bf08939cea9fc6af5a396ff1a7e2d47.tar.gz
bcm5719-llvm-2b01d5089bf08939cea9fc6af5a396ff1a7e2d47.zip
UBSan: Don't diagnose inf/nan conversions between floating-point types. It's far from clear whether these have undefined behavior, and these checks are helping no-one. Keep the double->float overflow warnings, though, since those are useful in practice, even though it's unclear whether such operations have defined behavior.
llvm-svn: 178194
Diffstat (limited to 'clang/lib/CodeGen/CGOpenCLRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud