diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-10-04 20:39:16 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-10-04 20:39:16 +0000 |
commit | 698d4ac8a883446a5f6959ba9b9674b61021a32a (patch) | |
tree | 6f7c83d1b79a544c66f45d40484757145aab279b /llvm/tools/lli/RemoteMemoryManager.cpp | |
parent | 972317651105e477e77a617ddedfaa5dc87d6437 (diff) | |
download | bcm5719-llvm-698d4ac8a883446a5f6959ba9b9674b61021a32a.tar.gz bcm5719-llvm-698d4ac8a883446a5f6959ba9b9674b61021a32a.zip |
SLPVectorizer: Sort inputs to commutative binary operations
Sort the operands of the other entries in the current vectorization root
according to the first entry's operands opcodes.
%conv0 = uitofp ...
%load0 = load float ...
= fmul %conv0, %load0
= fmul %load0, %conv1
= fmul %load0, %conv2
Make sure that we recursively vectorize <%conv0, %conv1, %conv2> and <%load0,
%load0, %load0>.
This makes it more likely to obtain vectorizable trees. We have to be careful
when we sort that we don't destroy 'good' existing ordering implied by source
order.
radar://15080067
llvm-svn: 191977
Diffstat (limited to 'llvm/tools/lli/RemoteMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions