ONE
ONE copied to clipboard
[compiler] Fix static analysis defect
static analyzer commented about
https://github.com/Samsung/ONE/blob/08e12522017d5fa1a97e6c497b354efed2064d52/compiler/luci/service/src/ShapeInfer_StridedSlice.cpp#L297
11. cast_overflow: Truncation due to cast operation on effective_dims from 64 to 32 bits.
CID 1757292: (#2 of 2): Overflowed integer argument (INTEGER_OVERFLOW)
12. overflow_sink: effective_dims, which might have overflowed, is passed to op_context->effective_input_shape.rank(effective_dims).
PTAL @Samsung/one_compiler