[PATCH] Loop Vectorizer: Refactor code to compute vectorized memory instruction cost

Arnold Schwaighofer aschwaighofer at apple.com
Mon Feb 4 07:08:40 PST 2013


This patch introduces a helper class that computes the cost of memory access instructions in 
LoopVectorizationCostModel::getInstructionCost.

Instead of a lot of code inline we have a class that will perform the computation for us.

I defined the member functions of the class inline so that most of code gets inlined and the cost of using a class is minimized.
 
No functionality change intended.

Thanks,
Arnold

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Loop-Vectorizer-Refactor-code-to-compute-vectorized-.patch
Type: application/octet-stream
Size: 11365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130204/33a970e0/attachment.obj>


More information about the llvm-commits mailing list