Only LLVM6 and higher contain the necessary intrinsics.

[ROCm/clr commit: dbe0cbcb93]
This commit is contained in:
Johannes M Dieterich
2018-09-13 13:55:43 -05:00
parent 7e87774568
commit 1d0e3c3ece
@@ -29,7 +29,7 @@ THE SOFTWARE.
#include <utility>
#endif
#if defined(__clang__) && (__clang_major__ > 3)
#if defined(__clang__) && (__clang_major__ > 5)
typedef _Float16 _Float16_2 __attribute__((ext_vector_type(2)));
struct __half_raw {