mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-10-03 17:18:12 +08:00
fix chain bug
This commit is contained in:
+1
-1
@@ -1539,7 +1539,7 @@ void quick_LIS(asg_arc_t_offset* x, uint32_t n, kvec_t_i32_warp* tailIndex, kvec
|
||||
i, Get_xOff(x[i].Off), Get_yOff(x[i].Off), pos);
|
||||
}
|
||||
/*******************************for debug************************************/
|
||||
prevIndex->a.a[i] = pos > 1? tailIndex->a.a[pos - 1] : -1;
|
||||
prevIndex->a.a[i] = pos > 0? tailIndex->a.a[pos - 1] : -1;
|
||||
tailIndex->a.a[pos] = i;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user