llvm-project
[HLSL][Matrix] Add APValue and ConstExpr evaluator support for matrices
#178762
Merged

[HLSL][Matrix] Add APValue and ConstExpr evaluator support for matrices #178762

Icohedron
Icohedron Add matrix APValue and ConstExpr evaluator for HLSL
6fa71f2c
Icohedron Fix various "enumeration value 'Matrix' not handled in switch" warnings
59f53e8b
Icohedron Fix BoolMatrix test due to APValue enabling memcpy optimization
e3207ad7
Icohedron Icohedron requested a review from farzonl farzonl 143 days ago
llvmbot llvmbot added clang
llvmbot llvmbot added clang:frontend
llvmbot llvmbot added clang:modules
llvmbot llvmbot added clang:codegen
llvmbot llvmbot added HLSL
llvmbot
farzonl
farzonl commented on 2026-01-29
github-actions
Icohedron
Icohedron commented on 2026-01-29
Icohedron Replace undef with poison
4fe41dfc
tex3d
Icohedron
Icohedron Switch APValue matrix layout to row-major order
4b118bc0
Icohedron
Icohedron commented on 2026-01-30
tex3d
tex3d commented on 2026-01-30
farzonl
farzonl commented on 2026-01-30
Icohedron Do not take in NumRows and NumCols for MatrixExprEvaluator::Success
5bd16a5b
Icohedron Use getNumElementsFlattened instead of NumRows * NumCols in assert
e8536481
Icohedron Rename getMatrixNumCols to getMatrixNumColumns
0ec3253a
tbaederr tbaederr requested a review from AaronBallman AaronBallman 140 days ago
Icohedron Merge remote-tracking branch 'upstream/main' into matrix-constexpr-eval
686f44af
Icohedron Remove unnecessary comments from test
104e485f
Icohedron Replace another NumRows * NumCols with getNumElementsFlattened()
6ebbce7e
Icohedron Merge remote-tracking branch 'upstream/main' into matrix-constexpr-eval
cdae0a2f
Icohedron Icohedron requested a review from farzonl farzonl 124 days ago
Icohedron Icohedron requested a review from tex3d tex3d 124 days ago
inbelic
inbelic commented on 2026-02-18
Icohedron Add type conversion test
2046e2a6
farzonl
farzonl commented on 2026-02-23
farzonl
farzonl approved these changes on 2026-02-23
efriedma-quic
efriedma-quic commented on 2026-02-23
Icohedron Add helper functions to ConstantMatrixType for flattened index calcul…
2f5b3525
farzonl
farzonl commented on 2026-02-26
farzonl
farzonl commented on 2026-02-26
Icohedron Compute NumRows * NumCols once and reuse in setMatrixUninit()
a41ad140
Icohedron Use helper function to compute ColMajorIdx in MatrixExprEvaluator::Vi…
8a08ea93
shafik
shafik commented on 2026-02-27
Icohedron Exercise int16, int64, half, double, and bool in APValue AST test
cc81e685
Icohedron Replace direct Elts access with a call to getMatrixElt
74177d10
Icohedron Merge remote-tracking branch 'upstream/main' into matrix-constexpr-eval
e20ade8b
Icohedron Update VisitInitListExpr for row-major order matrix InitListExpr chan…
6a14f7fc
Icohedron Icohedron merged f8f0f932 into main 108 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone