[all-commits] [llvm/llvm-project] 911d2d: [NFC] [HLSL] Move common metadata to LLVMFrontend

Chris B via All-commits all-commits at lists.llvm.org
Fri Oct 14 11:45:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 911d2dc23035454cb85422922c19259855e33bba
      https://github.com/llvm/llvm-project/commit/911d2dc23035454cb85422922c19259855e33bba
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-10-14 (Fri, 14 Oct 2022)

  Changed paths:
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/CodeGen/CMakeLists.txt
    A llvm/include/llvm/Frontend/HLSL/HLSLResource.h
    M llvm/lib/Frontend/CMakeLists.txt
    A llvm/lib/Frontend/HLSL/CMakeLists.txt
    A llvm/lib/Frontend/HLSL/HLSLResource.cpp
    M llvm/lib/Target/DirectX/CMakeLists.txt
    M llvm/lib/Target/DirectX/DXILResource.cpp
    M llvm/lib/Target/DirectX/DXILResource.h

  Log Message:
  -----------
  [NFC] [HLSL] Move common metadata to LLVMFrontend

This change pulls some code from the DirectX backend into a new
LLVMFrontendHLSL library to share utility data structures between the
HLSL code generation in Clang and the backend in LLVM.

This is a small refactoring as a first start to get code into the
right structure and get the library built and dependencies correct.

Fixes #58000 (https://github.com/llvm/llvm-project/issues/58000)

Reviewed By: python3kgae

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




More information about the All-commits mailing list