[PATCH] D135429: [HLSL] [DirectX backend] Move generateGlobalCtorDtorCalls into DirectX backend.
Xiang Li via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 7 16:14:29 PDT 2022
python3kgae added a comment.
In D135429#3844179 <https://reviews.llvm.org/D135429#3844179>, @efriedma wrote:
> 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.
I see. Thanks for the update.
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