[ARITH] Simplify casts of constants 0 and 1 (#3758)
* [ARITH] Simplify casts of constants 0 and 1 * [EXPR] is_const_value to check whether non-ints are consts * Revert "[EXPR] is_const_value to check whether non-ints are consts" This reverts commit 7e1b3462e3f74fd0afb1541d72978107cfa23c30. * Use tvm::cast
Showing
Please
register
or
sign in
to comment