[all-commits] [llvm/llvm-project] f02b28: [HLSL] Reland; Make it possible to assign an array...

Sarah Spall via All-commits all-commits at lists.llvm.org
Mon Apr 21 10:33:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f02b285dbd284057d5f1dd5fb599d1c2155670f5
      https://github.com/llvm/llvm-project/commit/f02b285dbd284057d5f1dd5fb599d1c2155670f5
  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] Reland; Make it possible to assign an array from a cbuffer (#136580)

Reland #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 https://github.com/llvm/llvm-project/issues/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