+ /// Returns true if vector representation of the instruction \p I + /// requires mask. + bool toBuildMaskedVectorInst(const Instruction* I) { + return (MaskedOp.count(I) != 0); + } + void SI(); Maybe a better name would be "isMaskRequired"? http://reviews.llvm.org/D6527