@@ -578,7 +578,7 @@ struct TosaValidation : public tosa::impl::TosaValidationBase<TosaValidation> {
578578
579579template <>
580580bool TosaValidation::levelCheckRanks (tosa::ArgMaxOp tosaOp) {
581- auto op = tosaOp.getOperation ();
581+ auto * op = tosaOp.getOperation ();
582582 if (!levelCheckRank (op, tosaOp.getInput (), " operand" , tosaLevel.MAX_RANK ))
583583 return false ;
584584
@@ -591,7 +591,7 @@ bool TosaValidation::levelCheckRanks(tosa::ArgMaxOp tosaOp) {
591591
592592template <>
593593bool TosaValidation::levelCheckRanks (tosa::IfOp tosaOp) {
594- auto op = tosaOp.getOperation ();
594+ auto * op = tosaOp.getOperation ();
595595
596596 // Only the condition input has rank limitation.
597597 if (!levelCheckRank (op, tosaOp.getCondition (), " operand" , tosaLevel.MAX_RANK ))
@@ -602,7 +602,7 @@ bool TosaValidation::levelCheckRanks(tosa::IfOp tosaOp) {
602602
603603template <>
604604bool TosaValidation::levelCheckRanks (tosa::VariableOp tosaOp) {
605- auto op = tosaOp.getOperation ();
605+ auto * op = tosaOp.getOperation ();
606606 auto variableType = getVariableType (tosaOp);
607607 if (!levelCheckRank (op, variableType, " variable type" , tosaLevel.MAX_RANK ))
608608 return false ;
@@ -612,7 +612,7 @@ bool TosaValidation::levelCheckRanks(tosa::VariableOp tosaOp) {
612612
613613template <>
614614bool TosaValidation::levelCheckSizes (tosa::VariableOp tosaOp) {
615- auto op = tosaOp.getOperation ();
615+ auto * op = tosaOp.getOperation ();
616616 auto variableType = getVariableType (tosaOp);
617617 if (!levelCheckSize (op, variableType, " variable type" ))
618618 return false ;
0 commit comments