commit | 79d60f6e81e98d37a29a1960607c45dbb8209297 | [log] [tgz] |
---|---|---|
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | Mon Nov 12 08:12:20 2018 +0000 |
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | Mon Nov 12 08:12:20 2018 +0000 |
tree | 6fd2d11b5025623f3b4db19bce41895f8ff224e8 | |
parent | 00ddaab58d16a33427acfcd5ac1fb97ce847e3b6 [diff] |
[SystemZ] Replicate the load with most uses in buildVector() Iterate over all elements and count the number of uses among them for each used load. Then make sure to REPLICATE the load which has the most uses in order to minimize the number of needed element insertions. Review: Ulrich Weigand https://reviews.llvm.org/D54322 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346637 91177308-0d34-0410-b5e6-96231b3b80d8