[all-commits] [llvm/llvm-project] 549a95: [HLSL][Matrix] Add Matrix Layout Keywords (#192284)
Farzon Lotfi via All-commits
all-commits at lists.llvm.org
Mon Apr 27 11:16:31 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 549a952fd53b14ee28ed898791e1a90be5c0940d
https://github.com/llvm/llvm-project/commit/549a952fd53b14ee28ed898791e1a90be5c0940d
Author: Farzon Lotfi <farzonlotfi at microsoft.com>
Date: 2026-04-27 (Mon, 27 Apr 2026)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/TokenKinds.def
M clang/include/clang/Sema/SemaHLSL.h
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseTentative.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaHLSL.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
A clang/test/AST/HLSL/matrix_layout_attr.hlsl
A clang/test/Sema/hlsl_matrix_layout_non_hlsl.cpp
A clang/test/SemaHLSL/matrix_layout_attr.hlsl
Log Message:
-----------
[HLSL][Matrix] Add Matrix Layout Keywords (#192284)
fixes #192263
HLSL allows per-declaration matrix layout overrides via the row_major
and column_major keywords. Prior to this commit, matrix layout was only
controlled globally via the -fmatrix-memory-layout command-line flag
(LangOptions::DefaultMatrixMemoryLayout). This commit adds the parsing
and semantic analysis infrastructure needed to support per-declaration
layout, matching DXC behavior.
Assisted-by: Claude Opus 4.6
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