diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-12-05 15:14:40 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-12-05 15:14:40 +0000 |
commit | 7ee53cac80de753fbbfb86d87f20a910fcbb89e7 (patch) | |
tree | 0ed90db9b9fec9133a4c84e69d4a0eaf6dbb39bd /clang/lib/Frontend/FrontendActions.cpp | |
parent | 2460c3fc733a618c65a032065f9e45a2232b2e3e (diff) | |
download | bcm5719-llvm-7ee53cac80de753fbbfb86d87f20a910fcbb89e7.tar.gz bcm5719-llvm-7ee53cac80de753fbbfb86d87f20a910fcbb89e7.zip |
SLPVectorizer: An in-tree vectorized entry cannot also be a scalar external use
We were creating external uses for scalar values in MustGather entries that also
had a ScalarToTreeEntry (they also are present in a vectorized tuple). This
meant we would keep a value 'alive' as a scalar and vectorized causing havoc.
This is not necessary because when we create a MustGather vector we explicitly
create external uses entries for the insertelement instructions of the
MustGather vector elements.
Fixes PR18129.
radar://15582184
llvm-svn: 196508
Diffstat (limited to 'clang/lib/Frontend/FrontendActions.cpp')
0 files changed, 0 insertions, 0 deletions