[OpenCL] Reduce size of builtin function tables
authorSven van Haastregt <sven.vanhaastregt@arm.com>
Thu, 6 Feb 2020 15:08:32 +0000 (15:08 +0000)
committerSven van Haastregt <sven.vanhaastregt@arm.com>
Thu, 6 Feb 2020 15:08:32 +0000 (15:08 +0000)
commit0fff6593f8962784d1e2e99994d2ad986f2759a8
treed12abeaf5a04e6796d4d98089e3f3022c819a35f
parentf70109f70ca9cdc7d416b8952a79c14e388b3180
[OpenCL] Reduce size of builtin function tables

Reduce the size of some of the TableGen'ed OpenCL builtin function
tables:

 - Use bit fields for bools such that they are packed together.  This
   saves about 7kb.

 - Use unsigned short for SignatureTable.  This saves about 10kb.
clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp