[PATCH] D134589: [C++20][Modules] Elide unused guard variables in Itanium ABI module initializers.

Nathan Sidwell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 17 14:11:11 PDT 2022


urnathan added a comment.

It occurs to me that for systems that lack dynamic initialization (like PTX), it is trivial to implement the 'don't call NOP module inits', because we know that there can be no non-nop inits.  Any code emission that tries to create a global init fn with contents will fail to compile.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134589



More information about the cfe-commits mailing list