This is a long overdue response to the review comments in https://reviews.llvm.org/D43208#inline-382175.
D43208 created a generic "hack" to essentially disable vectorization if the masked memref requires emulation, to "match" the preexisting behavior.
This patch moves it to TTI so that this can be moved towards the better cost modeling, one target at a time.
Thanks, @markus for reminding me.
This value seems a bit arbitrary. Could it not be e.g. INT_MAX instead if it is supposed to represent something infinitely expensive?