[OPENMP]Fix the float point semantics handling on the device.
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 9 Jul 2019 14:09:53 +0000 (14:09 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 9 Jul 2019 14:09:53 +0000 (14:09 +0000)
commite509af3cd6c92fd9607415fa40d158254fe93fec
tree2111a0f628bda0acafaeaa4bee505769f9d65ca9
parente6d10f97dd85c17e81e384b6fb42d201221d7baa
[OPENMP]Fix the float point semantics handling on the device.

The device should use the same float point representation as the host.
Previous patch fixed the handling of the sizes of the float point types,
but did not fixed the fp semantics. This patch makes target device to
use the host fp semantics. this is required for the correct data
transfer between host and device and correct codegen.

llvm-svn: 365485
clang/lib/AST/ASTContext.cpp
clang/test/OpenMP/nvptx_asm_delayed_diags.c
clang/test/OpenMP/nvptx_unsupported_type_codegen.cpp