[all-commits] [llvm/llvm-project] 0fff65: [OpenCL] Reduce size of builtin function tables
Sven van Haastregt via All-commits
all-commits at lists.llvm.org
Thu Feb 6 07:09:04 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0fff6593f8962784d1e2e99994d2ad986f2759a8
https://github.com/llvm/llvm-project/commit/0fff6593f8962784d1e2e99994d2ad986f2759a8
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2020-02-06 (Thu, 06 Feb 2020)
Changed paths:
M clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list