Test the type promotion between every two dtypes thoroughly (#42585)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/41842
Pull Request resolved: https://github.com/pytorch/pytorch/pull/42585
Reviewed By: izdeby
Differential Revision: D23126759
Pulled By: mruberry
fbshipit-source-id: 8337e02f23a4136c2ba28c368f8bdbd28400de44