BBVectorize: Simplify how input swapping is handled.
authorHal Finkel <hfinkel@anl.gov>
Tue, 30 Oct 2012 19:35:29 +0000 (19:35 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 30 Oct 2012 19:35:29 +0000 (19:35 +0000)
commitf38489096189d66a379764d3a65d8f1b0cf4f727
treebc92560e0e080befa4b2763c0af1b96e83bcb59d
parent6233cf565f85d0f156d68b5774baf7ca43b8623c
BBVectorize: Simplify how input swapping is handled.

Stop propagating the FlipMemInputs variable into the routines that
create the replacement instructions. Instead, just flip the arguments
of those routines. This allows for some associated cleanup (not all
of which is done here). No functionality change is intended.

llvm-svn: 167042
llvm/lib/Transforms/Vectorize/BBVectorize.cpp