[PATCH] D154507: [NVPTX] Apply global var demotion to private symbols

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 18:06:42 PDT 2023


jdoerfert added a comment.

I don't think this is correct, it does not account for capturing.

We have a pass that does this in the middle end (https://llvm.org/doxygen/GlobalOpt_8cpp_source.html#l01359), which reminds me of https://discourse.llvm.org/t/rfc-cleaning-up-the-nvidia-and-potentially-amd-gpu-backend/71680.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154507/new/

https://reviews.llvm.org/D154507



More information about the llvm-commits mailing list