Instead of checking if the given bitwidth is less or equal to a bitwidth of an existing RegClass,
check if it has the exact same value.
For LLVM vector types that don't have a corresponding Register Class, widen them during legalization.
That goes for G_EXTRACT_VECTOR_ELT, G_INSERT_VECTOR_ELT and G_BUILD_VECTOR.
Can we assert that the element type is s32 or s64? (Do the current rules ensure that?)
Can we assert that the type size is < MaxRegisterSize? Falling off the end of the "for" loop should really be unreachable.