Unroller's specialized scalarizeInstruction() is mostly duplicating Vectorizer's variant. OTOH Vectorizer's scalarizeInstruction() already supports the special case of VF==1 except for avoiding mask-bit extraction in that case. This patch removes Unroller's specialized version in favor of a unified method.
The only functional difference between the two variants seems to be setting memcheck metadata for loads and stores only in the Vectorizer's variant, which seems like a bug in Unroller (correct?). To keep this patch an NFC Vecotrizer's variant doesn't set memcheck metadata for VF==1. If memcheck metadata is indeed relevant for Unroller I'll remove the VF == 1 check in a separate patch as a bug fix.
Follows https://reviews.llvm.org/D28975 and its tentative breakdown.
Joint work with Ayal.