diff options
| author | Yaxun Liu <Yaxun.Liu@amd.com> | 2019-01-29 13:20:23 +0000 |
|---|---|---|
| committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2019-01-29 13:20:23 +0000 |
| commit | d442500f5d4e9c999cba611d84f065d9f06e3ada (patch) | |
| tree | 94c8a745c0f76b96dedad4a96483ce894a7e95ad /llvm/tools | |
| parent | b0d7cf5df48a4d134efa9b833b576443ad38811d (diff) | |
| download | bcm5719-llvm-d442500f5d4e9c999cba611d84f065d9f06e3ada.tar.gz bcm5719-llvm-d442500f5d4e9c999cba611d84f065d9f06e3ada.zip | |
[CUDA][HIP] Do not diagnose use of _Float16
r352221 caused regressions in CUDA/HIP since device function may use _Float16 whereas host does not support it.
In this case host compilation should not diagnose usage of _Float16 in device functions or variables.
For now just do not diagnose _Float16 for CUDA/HIP. In the future we should have more precise check.
Differential Revision: https://reviews.llvm.org/D57369
llvm-svn: 352488
Diffstat (limited to 'llvm/tools')
0 files changed, 0 insertions, 0 deletions

