[all-commits] [llvm/llvm-project] 92b00f: [OpenCL] Reduce duplicate defs by using multiclass...
Sven van Haastregt via All-commits
all-commits at lists.llvm.org
Thu Aug 5 03:07:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 92b00ffe0fb3199515c9267a1fad96d3bf44d1ea
https://github.com/llvm/llvm-project/commit/92b00ffe0fb3199515c9267a1fad96d3bf44d1ea
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2021-08-05 (Thu, 05 Aug 2021)
Changed paths:
M clang/lib/Sema/OpenCLBuiltins.td
Log Message:
-----------
[OpenCL] Reduce duplicate defs by using multiclasses; NFC
Builtin definitions with pointer arguments were duplicated to provide
overloads differing in the pointer argument's address space.
Reduce this duplication by capturing the definitions in multiclasses.
This still results in the same number of builtins in the generated
tables, but the description is more concise now.
Differential Revision: https://reviews.llvm.org/D107151
More information about the All-commits
mailing list