SLPVectorizer: refactor reorderInputsAccordingToOpcode (NFC)
authorMehdi Amini <mehdi.amini@apple.com>
Fri, 23 Oct 2015 00:46:17 +0000 (00:46 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Fri, 23 Oct 2015 00:46:17 +0000 (00:46 +0000)
commitbf6ee32ca5c59bd44f5dd06e8f69ffaca992072c
treed4e06b6da82231c76df539bfd4274f206e129c57
parent44dbf115fe6e38cdd7083b9c15b7a23d5d143a90
SLPVectorizer: refactor reorderInputsAccordingToOpcode (NFC)

This is intended to simplify the changes needed to solve PR25247.

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 251085
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp