aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-11-12 08:12:20 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2018-11-12 08:12:20 +0000
commitc0ee028dc341ca586d2bf362f0c3b70b39e41c63 (patch)
tree853c357c331ef78ca43e232e32e9e19b3ffc9eeb /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent5014540a63afb4993dbff6c21e9cdf00ed4f9e36 (diff)
downloadllvm-c0ee028dc341ca586d2bf362f0c3b70b39e41c63.zip
llvm-c0ee028dc341ca586d2bf362f0c3b70b39e41c63.tar.gz
llvm-c0ee028dc341ca586d2bf362f0c3b70b39e41c63.tar.bz2
[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 llvm-svn: 346637
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions