[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:02:35 PST 2026


================
@@ -747,6 +761,24 @@ void APValue::printPretty(raw_ostream &Out, const PrintingPolicy &Policy,
     Out << '}';
     return;
   }
+  case APValue::Matrix: {
----------------
Icohedron wrote:

Not AFAIK. There are also no tests for other cases within this switch statement that I could find.
This is function is just used for debugging purposes as well, so I have kept it in.

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


More information about the cfe-commits mailing list