Add simple cost model to perfect shuffle. Currently we're doing just greedy search...
authorAnton Korobeynikov <asl@math.spbu.ru>
Fri, 21 Aug 2009 12:41:03 +0000 (12:41 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Fri, 21 Aug 2009 12:41:03 +0000 (12:41 +0000)
commitc9d44f0d9c609f86e13fbf2e27165b663f94efe3
tree7da9c948eaa7f553bb4e6b3481081558213a0fd0
parent62e84f177d4519bf719d188496faf8b6c247e3a7
Add simple cost model to perfect shuffle. Currently we're doing just greedy search for cost instead of (proper) dynamic programming approach.

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