[PATCH] D76000: AMDGPU: Don't hard error on LDS globals in functions
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 11 13:36:19 PDT 2020
arsenm added a comment.
In D76000#1917950 <https://reviews.llvm.org/D76000#1917950>, @yaxunl wrote:
> What happens if user uses shared variable in a function marked with noinline? Will the function get inlined in kernel, or will the function not be inlined and ends up with a trap when called by a kernel? Thanks.
Noinline will never be overridden, so it will emit a warning and codegen to a trap
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76000/new/
https://reviews.llvm.org/D76000
More information about the llvm-commits
mailing list