For rv32, we test the legalization of i8, i16 and i32. For rv64, we additionally test the legalization of i64. This is the first of a series of commits aiming to legalize arithmetic instructions for RISCV. Reviewed By: craig.topper, arsenm Differential Revision: https://reviews.llvm.org/D154978