[PATCH] D130096: [Clang][AMDGPU] Emit AMDGPU library control constants in clang
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 11 13:59:32 PDT 2022
arsenm added a comment.
In D130096#3850550 <https://reviews.llvm.org/D130096#3850550>, @b-sumner wrote:
> There's the "small matter" of implementing the new device library functions. Why is all that more likeable than two kinds of control constants?
Different functions providing different behaviors can be handled at link time like any other function, instead of the same functions providing different behaviors per translation unit and requires cloning. The current scheme transfers complexity from the device library build system into the driver and user binaries
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130096/new/
https://reviews.llvm.org/D130096
More information about the cfe-commits
mailing list