[PATCH] D135429: [HLSL] [DirectX backend] Move generateGlobalCtorDtorCalls into DirectX backend.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 7 14:20:59 PDT 2022


efriedma added a comment.

You might actually want to run this twice, once early, and once in the backend.  Early to get high-quality optimization, late in case optimizations don't run for some reason.  (Not sure how that works if `T.getEnvironment() == Triple::EnvironmentType::Library`, though, since we don't actually erase the constructors?)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135429



More information about the cfe-commits mailing list