[all-commits] [llvm/llvm-project] 01bc67: [HLSL] Desugar ConstantArrayType when calculating ...

Sarah Spall via All-commits all-commits at lists.llvm.org
Mon Apr 7 15:26:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01bc672b8a41774feff445b07e749262597501e4
      https://github.com/llvm/llvm-project/commit/01bc672b8a41774feff445b07e749262597501e4
  Author: Sarah Spall <sarahspall at microsoft.com>
  Date:   2025-04-07 (Mon, 07 Apr 2025)

  Changed paths:
    M clang/lib/CodeGen/HLSLBufferLayoutBuilder.cpp
    M clang/test/CodeGenHLSL/cbuffer.hlsl

  Log Message:
  -----------
  [HLSL] Desugar ConstantArrayType when calculating cbuffer field layout (#134683)

When calculating the layout for a cbuffer field, if that field is a
ConstantArrayType, desguar it before casting it to a ConstantArrayType.
Closes #134668

---------

Co-authored-by: Eli Friedman <efriedma at quicinc.com>



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