This patch legalizes more instructions and data types. Differential Revision: https://reviews.llvm.org/D117264