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

Deric C. via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 15 12:09:43 PST 2026


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

Yea it is possible to insert the assumption on the row index value range, but I'm not sure if I should.

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


More information about the cfe-commits mailing list