[PATCH] D128845: [HLSL]Add -O and -Od option for dxc mode.
Chris Bieneman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 12 06:58:03 PDT 2022
beanz added inline comments.
================
Comment at: clang/lib/Frontend/CompilerInvocation.cpp:575
+ if (IK.getLanguage() == Language::HLSL)
+ DefaultOpt = llvm::CodeGenOpt::Aggressive;
----------------
Is there a way to tie this to using the DXC driver instead of the language option?
It would be nice in the future to have a more clang-conformant driver mode.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128845/new/
https://reviews.llvm.org/D128845
More information about the cfe-commits
mailing list