[PATCH] D109337: [GlobalOpt][FIX] Do not embed initializers into AS!=0 globals
Artem Belevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 7 09:53:52 PDT 2021
tra added a comment.
For NVPTX, it's the `__shared__` AS that's the odd one. Static initializers do work for `__device__` and `__constant__` globals.
I think this may be something we should plumb via TTI with AS(0) being the only AS allowed by default.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109337/new/
https://reviews.llvm.org/D109337
More information about the llvm-commits
mailing list