[clang] [HLSL][Matrix] Update indexed matrix elements individually (PR #176216)

Joshua Batista via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 15 11:47:40 PST 2026


================
@@ -2772,6 +2804,7 @@ void CodeGenFunction::EmitStoreThroughLValue(RValue Src, LValue Dst,
                 ->getNumElements();
       }
 
+      llvm::Value *Row = Dst.getMatrixRowIdx();
----------------
bob80905 wrote:

Not sure, just curious. Is it possible to repeat that same OptLevel > 0, index assumption logic here and apply it to rows?

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


More information about the cfe-commits mailing list