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

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 15:59:54 PDT 2022


efriedma added a comment.

In D135429#3844172 <https://reviews.llvm.org/D135429#3844172>, @efriedma wrote:

>> The pass will be always enabled in registerPipelineEarlySimplificationEPCallback (Not controlled by optimization level), is it possible that things registered in registerPipelineEarlySimplificationEPCallback be skipped?
>
> I think we won't end up running it at -O0.

Oh, hmm, just checked, and it looks like we have a special codepath specifically to ensure PipelineEarlySimplificationEPCallbacks runs at -O0.  I guess you're fine in that respect.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135429



More information about the llvm-commits mailing list