[all-commits] [llvm/llvm-project] 48abc8: [HLSL] Wrap offset info into a dedicated type. NFC

Justin Bogner via All-commits all-commits at lists.llvm.org
Mon Nov 10 14:26:07 PST 2025


  Branch: refs/heads/users/bogner/pr167396
  Home:   https://github.com/llvm/llvm-project
  Commit: 48abc8fdcf16327f94d1848a1cd33505105adfa1
      https://github.com/llvm/llvm-project/commit/48abc8fdcf16327f94d1848a1cd33505105adfa1
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2025-11-10 (Mon, 10 Nov 2025)

  Changed paths:
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    M clang/lib/CodeGen/HLSLBufferLayoutBuilder.cpp
    M clang/lib/CodeGen/HLSLBufferLayoutBuilder.h
    M clang/lib/CodeGen/TargetInfo.h
    M clang/lib/CodeGen/Targets/DirectX.cpp
    M clang/lib/CodeGen/Targets/SPIR.cpp

  Log Message:
  -----------
  [HLSL] Wrap offset info into a dedicated type. NFC

Rather than using a nullable SmallVector, use a wrapper class for offset
info. This simplifies places that need to handle whether or not there's
any offset information.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list