[all-commits] [llvm/llvm-project] 906e41: [HLSL] clang codeGen for HLSLShaderAttr.

Xiang Li via All-commits all-commits at lists.llvm.org
Thu Aug 4 21:24:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 906e41f4e34d32c257e0c0c9ce1b56070ba11960
      https://github.com/llvm/llvm-project/commit/906e41f4e34d32c257e0c0c9ce1b56070ba11960
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

  Changed paths:
    M clang/lib/AST/Mangle.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/CodeGenHLSL/entry.hlsl
    A clang/test/CodeGenHLSL/shader_type_attr.hlsl

  Log Message:
  -----------
  [HLSL] clang codeGen for HLSLShaderAttr.

 Translate HLSLShaderAttr to IR level.
 1. Skip mangle for hlsl entry functions.
 2. Add function attribute for hlsl entry functions.

Reviewed By: Anastasia

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




More information about the All-commits mailing list