RKSimon added a comment. I've raised a bugzilla: https://llvm.org/bugs/show_bug.cgi?id=26183 to discuss what the threshold for combines to PSHUFB should be and how it should be controlled. Repository: rL LLVM http://reviews.llvm.org/D14901