[all-commits] [llvm/llvm-project] 4f54d7: [HLSL][DirectX] Move handling of resource element ...

Justin Bogner via All-commits all-commits at lists.llvm.org
Mon Dec 18 10:44:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f54d71501815877898aaa6d764b8468d0708ed6
      https://github.com/llvm/llvm-project/commit/4f54d71501815877898aaa6d764b8468d0708ed6
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    M clang/test/CodeGenHLSL/builtins/RWBuffer-annotations.hlsl
    A clang/test/CodeGenHLSL/builtins/RWBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/RasterizerOrderedBuffer-annotations.hlsl
    M clang/test/CodeGenHLSL/cbuf.hlsl
    M llvm/include/llvm/Frontend/HLSL/HLSLResource.h
    M llvm/lib/Frontend/HLSL/HLSLResource.cpp
    M llvm/lib/Target/DirectX/DXILResource.cpp
    M llvm/lib/Target/DirectX/DXILResource.h
    M llvm/test/CodeGen/DirectX/UAVMetadata.ll

  Log Message:
  -----------
  [HLSL][DirectX] Move handling of resource element types into the frontend

Rather than shepherding a type name all the way to the backend as a
string and attempting to parse it, get the element type out of the AST
and store that in the resource annotation metadata directly.

Pull Request: https://github.com/llvm/llvm-project/pull/75674




More information about the All-commits mailing list