[all-commits] [llvm/llvm-project] d3d7c3: [HLSL] Fix vector list initialization (#161421)
Chris B via All-commits
all-commits at lists.llvm.org
Mon Oct 6 10:39:34 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d3d7c3c8d1d83cf5f94ae55fd39c2a2f98f93d5c
https://github.com/llvm/llvm-project/commit/d3d7c3c8d1d83cf5f94ae55fd39c2a2f98f93d5c
Author: Chris B <chris.bieneman at me.com>
Date: 2025-10-06 (Mon, 06 Oct 2025)
Changed paths:
M clang/include/clang/Sema/Initialization.h
M clang/lib/Sema/SemaInit.cpp
M clang/test/AST/HLSL/vector-constructors.hlsl
M clang/test/CodeGenHLSL/BasicFeatures/InitLists.hlsl
A clang/test/SemaHLSL/BuiltIns/vector-constructors-errors.hlsl
R clang/test/SemaHLSL/BuiltIns/vector-constructors-erros.hlsl
Log Message:
-----------
[HLSL] Fix vector list initialization (#161421)
This simplifies and cleans up the vector list initialization behavior.
This simplifies the work we do in SemaInit by just relying on SemaHLSL's
initialization list flattening. This change fixes some outstanding
limitations by supporting structure to vector initialization, but
re-introduces HLSL's limitations around overload resolution in
initializers.
---------
Co-authored-by: Helena Kotas <hekotas at microsoft.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