[all-commits] [llvm/llvm-project] 3fa5eb: [HLSL] add -fcgl option flag.

Xiang Li via All-commits all-commits at lists.llvm.org
Fri May 6 11:42:30 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3fa5eb4cfc065b686c03f912e4414fd00a54d04e
  Author: python3kgae <python3kgae at outlook.com>
  Date:   2022-05-06 (Fri, 06 May 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/HLSL.cpp
    A clang/test/Driver/dxc_fcgl.hlsl

  Log Message:
  [HLSL] add -fcgl option flag.

fcgl option will make compilation stop after clang codeGen and output the llvm ir.
It is added to check clang codeGen output for HLSL.

It will be translated into -S -emit-llvm and -disable-llvm-passes.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D124983

More information about the All-commits mailing list