[PATCH] D128845: [HLSL]Add -O and -Od option for dxc mode.

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 13 11:55:43 PDT 2022


python3kgae updated this revision to Diff 459833.
python3kgae added a comment.

Use O0 instead of DxcOptDisable since Od is same as O0.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128845

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/CGHLSLRuntime.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Driver/ToolChains/HLSL.cpp
  clang/test/CodeGenHLSL/disable_opt.hlsl
  clang/test/Driver/dxc_O.hlsl
  clang/test/Driver/dxc_fcgl.hlsl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128845.459833.patch
Type: text/x-patch
Size: 7001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220913/d1036fd1/attachment-0001.bin>


More information about the cfe-commits mailing list