llvm-project
e4ad8a6e - [HLSL][Matrix] Add implicit matrix floating-point conversion checks (#179568)

Commit
79 days ago
[HLSL][Matrix] Add implicit matrix floating-point conversion checks (#179568) Fixes #168944 Depends on #178762 being merged first. The commit adds implicit conversion warnings for HLSL matrix types in Clang's semantic checker by extending SemaChecking.cpp to detect precision loss when converting between matrix types (specifically, ConstantMatrixType). A new test validates float precision warnings, and an existing test was updated to expect the new diagnostics. Assisted-by: claude-opus-4.5
Author
Parents
Loading