Displaying 1 result from an estimated 1 matches for "halftyid".
Did you mean:
halfty
2011 Jul 14
1
[LLVMdev] [PATCH] OpenCL half support
...DE_STRUCT_NAMED = 21 // STRUCT_NAMED: [ispacked, eltty x N]
Please make TYPE_CODE_HALF be "21" at the end of the list. Bitcode id's are not allowed to ever change.
+++ b/include/llvm/Type.h
VectorTyID, ///< 14: SIMD 'packed' format, or other vector type
+ HalfTyID, ///< 16: 16-bit floating-point type
The comment is wrong, it should be "15:"
The rest of the patch looks like a reasonable first start, but doesn't include code generation or optimizer changes. The code generator will certainly need changes to emit global variables with...