Closed hlu1 closed 5 years ago
@tqchen, please review, thanks!
I think a better fix would be to copy from Halide: https://github.com/halide/Halide/blob/90e47c037c5d27dc9a1a8bd1098f48eb2f2df342/src/Expr.h#L202-L205
shouldn't we fix the UB instead?
sure, please consider send a patch for that
We have a test that failed because of this error, which can simply be fixed by disable UBSAN on clang. The error messages are: