BBVectorize: Omit unnecessary entries in PairableInstUsers
authorHal Finkel <hfinkel@anl.gov>
Mon, 11 Feb 2013 23:02:09 +0000 (23:02 +0000)
committerHal Finkel <hfinkel@anl.gov>
Mon, 11 Feb 2013 23:02:09 +0000 (23:02 +0000)
commit39a95032d2522970d482f0588335f4595d8dcee2
treea34902176af828e53a99606884e6c0b3b0c239f5
parent08834518adfba0800a1dd0c6d5ecf5f646afe8b2
BBVectorize: Omit unnecessary entries in PairableInstUsers

This map is queried only for instructions in pairs of pairable
instructions; so make sure that only pairs of pairable
instructions are added to the map. This gives a 3.5% speedup
on the csa.ll test case from PR15222.

No functionality change intended.

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