[clang] [HLSL][Matrix] Add APValue and ConstExpr evaluator support for matrices (PR #178762)

Deric C. via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 18 12:03:21 PST 2026


================
@@ -10616,6 +10616,9 @@ ASTNodeImporter::ImportAPValue(const APValue &FromValue) {
                Elts.data(), FromValue.getVectorLength());
     break;
   }
+  case APValue::Matrix:
+    // Matrix values cannot currently arise in APValue import contexts.
----------------
Icohedron wrote:

Not planned.

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


More information about the cfe-commits mailing list