Only LLVM6 and higher contain the necessary intrinsics.

This commit is contained in:
Johannes M Dieterich
2018-09-13 13:55:43 -05:00
bovenliggende 5cb819b34e
commit cf12a9c049
+1 -1
Bestand weergeven
@@ -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 {