Loop Vectorizer: Refactor Memory Cost Computation
authorArnold Schwaighofer <aschwaighofer@apple.com>
Thu, 7 Feb 2013 19:05:21 +0000 (19:05 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Thu, 7 Feb 2013 19:05:21 +0000 (19:05 +0000)
commit96a6555b5706af59e408bb190c3685f0f15bc2a9
treec2721d5873ca5fcef45ce6250fd9413e9ff91e40
parent35b1423ee67a6ec7052016dda486e6ee4a118db4
Loop Vectorizer: Refactor Memory Cost Computation

We don't want too many classes in a pass and the classes obscure the details. I
was going a little overboard with object modeling here. Replace classes by
generic code that handles both loads and stores.

No functionality change intended.

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