bug fix: insert_vector_elt has limitation on the type of idx. if the subtarget is 64-bit, should use MVT::i64 idx instead of i32