[all-commits] [llvm/llvm-project] 46de3a: [HLSL] get inout/out ABI for array parameters work...

Sarah Spall via All-commits all-commits at lists.llvm.org
Tue Dec 3 17:43:57 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46de3a7064250bd2dfc7f8dc6e300474afa9fa97
      https://github.com/llvm/llvm-project/commit/46de3a7064250bd2dfc7f8dc6e300474afa9fa97
  Author: Sarah Spall <sarahspall at microsoft.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/lib/AST/Type.cpp
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaType.cpp
    A clang/test/AST/HLSL/ArrayOutArgExpr.hlsl
    M clang/test/CodeGenHLSL/ArrayAssignable.hlsl
    A clang/test/CodeGenHLSL/BasicFeatures/ArrayOutputArguments.hlsl
    M clang/test/SemaHLSL/ArrayTemporary.hlsl
    A clang/test/SemaHLSL/Language/ArrayOutputArgs-errors.hlsl

  Log Message:
  -----------
  [HLSL] get inout/out ABI for array parameters working (#111047)

Get inout/out parameters working for HLSL Arrays.
Utilizes the fix from #109323, and corrects the assignment behavior
slightly to allow for Non-LValues on the RHS.
Closes #106917

---------

Co-authored-by: Chris B <beanz at abolishcrlf.org>



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