[all-commits] [llvm/llvm-project] 52a533: [HLSL] Make it possible to assign an array from a ...

Sarah Spall via All-commits all-commits at lists.llvm.org
Mon Apr 21 08:19:18 PDT 2025


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

  Changed paths:
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/CodeGenHLSL/ArrayAssignable.hlsl

  Log Message:
  -----------
  [HLSL] Make it possible to assign an array from a cbuffer (#134174)

Update Sema Checking to always do an HLSL Array RValue cast in the case
we are dealing with hlsl constant array types
Instead of comparing canonical types, compare canonical unqualified
types
Add a test to show it is possible to assign an array from a cbuffer.
Closes #133767



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