diff options
| author | Farzon Lotfi <farzonlotfi@microsoft.com> | 2025-10-24 15:40:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-24 15:40:41 -0400 |
| commit | 251edd122808f1849adb8000119ba9134793a294 (patch) | |
| tree | 4bebf5aac22903db91d45b7a66097a6b5ae35163 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
| parent | af34890ef8f501cf758525f04b3e6f0e18a96b44 (diff) | |
| download | llvm-251edd122808f1849adb8000119ba9134793a294.zip llvm-251edd122808f1849adb8000119ba9134793a294.tar.gz llvm-251edd122808f1849adb8000119ba9134793a294.tar.bz2 | |
[HLSL] Add matrix constructors using initalizer lists (#162743)
fixes #159434
In HLSL matrices are matrix_type in all respects except that they
support a constructor style syntax for initializing matrices.
This change adds a translation of vector constructor arguments into
initializer lists.
This supports the following HLSL syntax:
(1) HLSL matrices support constructor syntax
(2) HLSL matrices are expanded to constituate components in constructor
using the same initalizer list behavior defined in transformInitList
allows us to support struct element initalization via
HLSLElementwiseCast
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
