llvm-project
[HLSL][Matrix] Add implicit matrix floating-point conversion checks
#179568
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
25
Changes
View On
GitHub
[HLSL][Matrix] Add implicit matrix floating-point conversion checks
#179568
Icohedron
merged 25 commits into
llvm:main
from
Icohedron:matrix-conversion-warnings
Add matrix APValue and ConstExpr evaluator for HLSL
6fa71f2c
Fix various "enumeration value 'Matrix' not handled in switch" warnings
59f53e8b
Fix BoolMatrix test due to APValue enabling memcpy optimization
e3207ad7
Replace undef with poison
4fe41dfc
Switch APValue matrix layout to row-major order
4b118bc0
Do not take in NumRows and NumCols for MatrixExprEvaluator::Success
5bd16a5b
Use getNumElementsFlattened instead of NumRows * NumCols in assert
e8536481
Rename getMatrixNumCols to getMatrixNumColumns
0ec3253a
Merge remote-tracking branch 'upstream/main' into matrix-constexpr-eval
686f44af
Remove unnecessary comments from test
104e485f
Replace another NumRows * NumCols with getNumElementsFlattened()
6ebbce7e
Add implicit matrix conversion checks
14400547
llvmbot
added
clang
llvmbot
added
clang:frontend
llvmbot
added
HLSL
alsepkow
commented on 2026-02-03
alsepkow
commented on 2026-02-03
alsepkow
commented on 2026-02-03
farzonl
commented on 2026-02-03
alsepkow
commented on 2026-02-03
Change occurrences of 'precise' to 'exact'
81fe2b03
Reword comment about inexact tests. Add inexact double to float tests
8cfbeb8e
Have floating-point matrix conversion warnings be tied to -Wmatrix-co…
9719d01b
Apply clang-format
fb412fe8
farzonl
commented on 2026-02-05
farzonl
commented on 2026-02-05
farzonl
approved these changes on 2026-02-05
Create helper lambda for selecting DiagID to use
6af3d699
Apply clang-format
5e341643
Revert "Apply clang-format"
533746f2
Revert "Create helper lambda for selecting DiagID to use"
b8fdda9d
Revert "Apply clang-format"
d86de22a
Revert "Have floating-point matrix conversion warnings be tied to -Wm…
bbb76958
Merge remote-tracking branch 'upstream/main' into matrix-conversion-w…
3b5026f1
Icohedron
changed the base branch from
users/Icohedron/pr-178762
to
main
81 days ago
Merge remote-tracking branch 'upstream/main' into matrix-conversion-w…
04d779e2
Update test CHECKs for upstream changes
645cec6f
Icohedron
merged
e4ad8a6e
into main
81 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
farzonl
alsepkow
Assignees
No one assigned
Labels
clang
clang:frontend
HLSL
Milestone
No milestone
Login to write a write a comment.
Login via GitHub