[clang] [HLSL][Matrix] introduce MatrixElementExpr as accessor and swizzle operator (PR #171225)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 9 09:14:25 PST 2025


================
@@ -1202,6 +1202,11 @@ CIRGenFunction::emitArraySubscriptExpr(const clang::ArraySubscriptExpr *e) {
   return lv;
 }
 
+LValue CIRGenFunction::emitMatrixElementExpr(const MatrixElementExpr *e) {
+   // FIXME: support "matrix swizzle" if/when CIR needs it.
----------------
farzonl wrote:

Add a Github issue for this

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


More information about the cfe-commits mailing list