@@ -749,9 +749,9 @@ Ptr<BirAccessPattern> BirAccessPattern_des(FILE *in) {
749749 msg << " Could not find tag, expecting BirAccessPattern:124,0" ;
750750 throw std::runtime_error (msg.str ());
751751 }
752- if (t != 124 || c != 0 || l != 6 ) {
752+ if (t != 124 || c != 0 || l != 7 ) {
753753 std::ostringstream msg;
754- msg << " Expecting BirAccessPattern:(124,0,6 )" ;
754+ msg << " Expecting BirAccessPattern:(124,0,7 )" ;
755755 msg << " got:(" << (int )t << " ," << (int )c << " ," << (int )l << " )" ;
756756 throw std::runtime_error (msg.str ());
757757 }
@@ -762,6 +762,7 @@ Ptr<BirAccessPattern> BirAccessPattern_des(FILE *in) {
762762 x->scalarOffset = Option_ScalarOffset_des (in);
763763 x->vectorOffset = Option_Access_des (in);
764764 x->indirectDim = Int_des (in);
765+ x->dtypeOverride = Option_Dtype_des (in);
765766 return x;
766767}
767768
@@ -3207,10 +3208,17 @@ Ptr<ExtendedInst> ExtendedInst_des(FILE *in) {
32073208
32083209Ptr<TensorScalarCumulative> TensorScalarCumulative_des (FILE *in) {
32093210 u8 t, c, l;
3210- if (!deserialize_tag (in, &t, &c, &l))
3211- throw std::runtime_error (" Could not find tag" );
3212- if (t != 208 || c != 0 || l != 9 )
3213- throw std::runtime_error (" Invalid Tag" );
3211+ if (!deserialize_tag (in, &t, &c, &l)) {
3212+ std::ostringstream msg;
3213+ msg << " Could not find tag, expecting TensorScalarCumulative:208,0" ;
3214+ throw std::runtime_error (msg.str ());
3215+ }
3216+ if (t != 208 || c != 0 || l != 9 ) {
3217+ std::ostringstream msg;
3218+ msg << " Expecting TensorScalarCumulative:(208,0,9)" ;
3219+ msg << " got:(" << (int )t << " ," << (int )c << " ," << (int )l << " )" ;
3220+ throw std::runtime_error (msg.str ());
3221+ }
32143222 Ptr<TensorScalarCumulative> x = ptr<TensorScalarCumulative>();
32153223 x->dst = TensorRef_des (in);
32163224 x->src = TensorRef_des (in);
0 commit comments