diff options
author | Anna Thomas <anna@azul.com> | 2017-05-09 14:29:33 +0000 |
---|---|---|
committer | Anna Thomas <anna@azul.com> | 2017-05-09 14:29:33 +0000 |
commit | 0691483435e2626cc26d11e0c58be6fe353d00e3 (patch) | |
tree | fa52c9e8e5eb4ecffd1c8c1c5557fb19dcf03d9a /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | f22f885b6695a13159e9a8a1d79d3af88c80f37a (diff) | |
download | llvm-0691483435e2626cc26d11e0c58be6fe353d00e3.zip llvm-0691483435e2626cc26d11e0c58be6fe353d00e3.tar.gz llvm-0691483435e2626cc26d11e0c58be6fe353d00e3.tar.bz2 |
[LV] Fix insertion point for shuffle vectors in first order recurrence
Summary:
In first order recurrence vectorization, when the previous value is a phi node, we need to
set the insertion point to the first non-phi node.
We can have the previous value being a phi node, due to the generation of new
IVs as part of trunc optimization [1].
[1] https://reviews.llvm.org/rL294967
Reviewers: mssimpso, mkuper
Subscribers: mzolotukhin, llvm-commits
Differential Revision: https://reviews.llvm.org/D32969
llvm-svn: 302532
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions