[Unroll] Refactor the accumulation of optimized instruction costs into
authorChandler Carruth <chandlerc@gmail.com>
Fri, 22 May 2015 02:47:29 +0000 (02:47 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 22 May 2015 02:47:29 +0000 (02:47 +0000)
a single location.

This reduces code duplication a bit and will also pave the way for
a better separation between the visitation algorithm and the unroll
analysis.

No functionality changed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237990 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found