[all-commits] [llvm/llvm-project] bad2e6: [HLSL] clang codeGen for HLSLNumThreadsAttr

Xiang Li via All-commits all-commits at lists.llvm.org
Thu Sep 22 15:31:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bad2e6c830de8c6ddc72f7ba3ace068fb62448ff
      https://github.com/llvm/llvm-project/commit/bad2e6c830de8c6ddc72f7ba3ace068fb62448ff
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2022-09-22 (Thu, 22 Sep 2022)

  Changed paths:
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/test/CodeGenHLSL/entry.hlsl

  Log Message:
  -----------
  [HLSL] clang codeGen for HLSLNumThreadsAttr

Translate HLSLNumThreadsAttr into function attribute with name "dx.numthreads" and value format as "x,y,z".

Reviewed By: beanz

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




More information about the All-commits mailing list