[clang] [HLSL][Matrix] Add support for Matrix element and trunc Casts (PR #168915)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 20 20:10:38 PST 2025


farzonl wrote:

> Oh, something else missing from this change is that implicit truncations should produce a diagnostic just like we do for vector truncations.

Are you talking about what we do with ` warn_impcast_float_precision` ie `"implicit conversion loses floating-point precision"`. We can't do that one yet see: https://github.com/llvm/llvm-project/issues/168944


https://github.com/llvm/llvm-project/pull/168915


More information about the cfe-commits mailing list