mssimpso added a subscriber: mssimpso. mssimpso added a comment. Hi Matt, There's a similar static function in the loop vectorizer. Do you think it would be beneficial to refactor that one to also use the common interface? http://reviews.llvm.org/D20639