[all-commits] [llvm/llvm-project] 0a5b66: [Clang][HLSL] Keep matrix SSA values in column-maj...
Farzon Lotfi via All-commits
all-commits at lists.llvm.org
Wed Sep 30 09:43:36 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0a5b663d6474a958ef953cd6615de550957b8525
https://github.com/llvm/llvm-project/commit/0a5b663d6474a958ef953cd6615de550957b8525
Author: Farzon Lotfi <farzonlotfi at microsoft.com>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/test/CodeGenHLSL/BasicFeatures/MatrixElementRowColFlags.hlsl
M clang/test/CodeGenHLSL/BasicFeatures/MatrixElementTypeCast.hlsl
M clang/test/CodeGenHLSL/matrix-layout-attr-overrides-default.hlsl
Log Message:
-----------
[Clang][HLSL] Keep matrix SSA values in column-major order (#227087)
Keep matrix register values in canonical column-major order while
preserving
the declared matrix layout for memory accesses.
Construct elementwise matrix casts in column-major lane order and use
column-major indexing when extracting elements from SSA values. Continue
to
use layout-aware indexing for LValues and other physical memory
operations.
Materialize matrix prvalues through the matrix-aware scalar store path
so
row-major temporaries are transposed at the register-to-memory boundary.
Add coverage for matrix indexing, casts, swizzles, transposed prvalues,
and
explicit row-major out-parameter accesses.
Assisted by Copilot via GPT 5.6-sol
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