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)
commit202d1cb8a587a9513d8bb65bf4a3d88a55132860
tree315f55b56e3c362f25cd4930f2da4800bcc98b41
parent7d71209912bb55856f34df7013382e6dd310983b
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167042 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/BBVectorize.cpp