Issue 183127
Summary Use MatrixBuilder `CreateConstantIndex` in Matrix Trunc cast
Labels HLSL
Assignees
Reporter farzonl
    Today Matrix trunc cast assumes column major indexing all the time. This needs to change based on /Zpr and /Zpc flangs. Use the new CreateConstantIndex helper introduced in #182904.

https://github.com/llvm/llvm-project/blob/a56993a694ed02775285b9fe0e23fce8346491c9/clang/lib/CodeGen/CGExprScalar.cpp#L2557-L2559

_Originally posted by @farzonl in https://github.com/llvm/llvm-project/pull/182904#discussion_r2842929644_
 
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to