Loop Vectorizer: Refactor code to compute vectorized memory instruction cost
authorArnold Schwaighofer <aschwaighofer@apple.com>
Tue, 5 Feb 2013 18:46:41 +0000 (18:46 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Tue, 5 Feb 2013 18:46:41 +0000 (18:46 +0000)
commit3be40b56c5409d02339b64992893af367b1fb112
tree68fb3a81084ef9cf173186baedf8401e2a3f0728
parent61f39ce8b8ac2e91bfec149248a5a64b5773a11b
Loop Vectorizer: Refactor code to compute vectorized memory instruction cost

Introduce a helper class that computes the cost of memory access instructions.
No functionality change intended.

llvm-svn: 174422
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp