================
@@ -2242,15 +2241,14 @@ Value
*ScalarExprEmitter::VisitMatrixSingleSubscriptExpr(
MB.CreateIndexAssumption(RowIdx, NumRows);
Value *FlatMatrix = Visit(E->getBase());
- llvm::Type *ElemTy = CGF.ConvertTypeForMem(MatrixTy->getElementType());
+ llvm::Type *ElemTy = CGF.ConvertType(MatrixTy->getElementType());
----------------
farzonl wrote:
Yeah this looks very wrong. you changed tests to i1s for bools but in HLSL a
bool is i32
https://github.com/llvm/llvm-project/pull/195586
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits