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

Finn Plummer via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 18 11:57:32 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.
----------------
inbelic wrote:

Is this planned to be supported? If so, can we have an issue to track it

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


More information about the cfe-commits mailing list