Open
Description
The middle end computeKnownBitsFromOperator can merge bitcasts from narrow vector elements to wider types, but fails to perform this in the reverse case:
The SelectionDAG implementation handles both so hopefully its just a case of reusing the additional code over and adding any missing test coverage: