@@ -6312,33 +6312,31 @@ Value *TranslateMatVecMul(CallInst *CI, IntrinsicOp IOP, OP::OpCode OpCode,
63126312 Constant *OpArg = HlslOp->GetU32Const (static_cast <unsigned >(OpCode));
63136313
63146314 // Input parameters
6315- Value *InputVector =
6315+ Value *InputVector =
63166316 CI->getArgOperand (HLOperandIndex::kMatVecMulInputVectorIdx );
6317- Value *IsInputUnsigned =
6317+ Value *IsInputUnsigned =
63186318 CI->getArgOperand (HLOperandIndex::kMatVecMulIsInputUnsignedIdx );
6319- Value *InputInterpretation =
6319+ Value *InputInterpretation =
63206320 CI->getArgOperand (HLOperandIndex::kMatVecMulInputInterpretationIdx );
63216321
63226322 // Matrix parameters
6323- Value *MatrixBuffer =
6323+ Value *MatrixBuffer =
63246324 CI->getArgOperand (HLOperandIndex::kMatVecMulMatrixBufferIdx );
6325- Value *MatrixOffset =
6325+ Value *MatrixOffset =
63266326 CI->getArgOperand (HLOperandIndex::kMatVecMulMatrixOffsetIdx );
6327- Value *MatrixInterpretation =
6327+ Value *MatrixInterpretation =
63286328 CI->getArgOperand (HLOperandIndex::kMatVecMulMatrixInterpretationIdx );
6329- Value *MatrixM =
6330- CI->getArgOperand (HLOperandIndex::kMatVecMulMatrixMIdx );
6331- Value *MatrixK =
6332- CI->getArgOperand (HLOperandIndex::kMatVecMulMatrixKIdx );
6333- Value *MatrixLayout =
6329+ Value *MatrixM = CI->getArgOperand (HLOperandIndex::kMatVecMulMatrixMIdx );
6330+ Value *MatrixK = CI->getArgOperand (HLOperandIndex::kMatVecMulMatrixKIdx );
6331+ Value *MatrixLayout =
63346332 CI->getArgOperand (HLOperandIndex::kMatVecMulMatrixLayoutIdx );
6335- Value *MatrixTranspose =
6333+ Value *MatrixTranspose =
63366334 CI->getArgOperand (HLOperandIndex::kMatVecMulMatrixTransposeIdx );
6337- Value *MatrixStride =
6335+ Value *MatrixStride =
63386336 CI->getArgOperand (HLOperandIndex::kMatVecMulMatrixStrideIdx );
63396337
63406338 // Output parameters
6341- Value *IsOutputUnsigned =
6339+ Value *IsOutputUnsigned =
63426340 CI->getArgOperand (HLOperandIndex::kMatVecMulIsOutputUnsignedIdx );
63436341
63446342 // Get the DXIL function for the operation
@@ -6352,13 +6350,13 @@ Value *TranslateMatVecMul(CallInst *CI, IntrinsicOp IOP, OP::OpCode OpCode,
63526350 Value *NewCI = Builder.CreateCall (
63536351 DxilFunc,
63546352 {OpArg, InputVector, IsInputUnsigned, InputInterpretation, MatrixBuffer,
6355- MatrixOffset, MatrixInterpretation, MatrixM, MatrixK,
6356- MatrixLayout, MatrixTranspose, MatrixStride, IsOutputUnsigned});
6353+ MatrixOffset, MatrixInterpretation, MatrixM, MatrixK, MatrixLayout,
6354+ MatrixTranspose, MatrixStride, IsOutputUnsigned});
63576355
63586356 // Get the output parameter and store the result
63596357 Value *OutParam =
63606358 CI->getArgOperand (HLOperandIndex::kMatVecMulOutputVectorIdx );
6361-
6359+
63626360 Builder.CreateStore (NewCI, OutParam);
63636361
63646362 return nullptr ;
@@ -6389,10 +6387,8 @@ Value *TranslateMatVecMulAdd(CallInst *CI, IntrinsicOp IOP, OP::OpCode OpCode,
63896387 CI->getArgOperand (HLOperandIndex::kMatVecMulAddMatrixOffsetIdx );
63906388 Value *MatrixInterpretation =
63916389 CI->getArgOperand (HLOperandIndex::kMatVecMulAddMatrixInterpretationIdx );
6392- Value *MatrixM =
6393- CI->getArgOperand (HLOperandIndex::kMatVecMulAddMatrixMIdx );
6394- Value *MatrixK =
6395- CI->getArgOperand (HLOperandIndex::kMatVecMulAddMatrixKIdx );
6390+ Value *MatrixM = CI->getArgOperand (HLOperandIndex::kMatVecMulAddMatrixMIdx );
6391+ Value *MatrixK = CI->getArgOperand (HLOperandIndex::kMatVecMulAddMatrixKIdx );
63966392 Value *MatrixLayout =
63976393 CI->getArgOperand (HLOperandIndex::kMatVecMulAddMatrixLayoutIdx );
63986394 Value *MatrixTranspose =
@@ -6484,12 +6480,10 @@ Value *TranslateVectorAccumulate(CallInst *CI, IntrinsicOp IOP,
64846480 Constant *OpArg = HlslOp->GetU32Const (static_cast <unsigned >(OpCode));
64856481
64866482 // Input vector parameter
6487- Value *InputVector =
6488- CI->getArgOperand (HLOperandIndex::kVectorAccInputVecIdx );
6483+ Value *InputVector = CI->getArgOperand (HLOperandIndex::kVectorAccInputVecIdx );
64896484
64906485 // Matrix parameters
6491- Value *MatrixBuffer =
6492- CI->getArgOperand (HLOperandIndex::kVectorAccMatrixIdx );
6486+ Value *MatrixBuffer = CI->getArgOperand (HLOperandIndex::kVectorAccMatrixIdx );
64936487 Value *MatrixOffset =
64946488 CI->getArgOperand (HLOperandIndex::kVectorAccMatrixOffsetIdx );
64956489
@@ -6500,7 +6494,6 @@ Value *TranslateVectorAccumulate(CallInst *CI, IntrinsicOp IOP,
65006494 {OpArg, InputVector, MatrixBuffer, MatrixOffset});
65016495}
65026496
6503-
65046497} // namespace
65056498
65066499// Lower table.
0 commit comments