spatel accepted this revision. spatel added a comment. This revision is now accepted and ready to land. LGTM. Can you put isTargetShuffleEquivalent() in a non-target-specific place, so any backend can use it? Repository: rL LLVM http://reviews.llvm.org/D21495