aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorAnna Thomas <anna@azul.com>2017-05-09 14:29:33 +0000
committerAnna Thomas <anna@azul.com>2017-05-09 14:29:33 +0000
commit0691483435e2626cc26d11e0c58be6fe353d00e3 (patch)
treefa52c9e8e5eb4ecffd1c8c1c5557fb19dcf03d9a /llvm/lib/Transforms/Utils/InlineFunction.cpp
parentf22f885b6695a13159e9a8a1d79d3af88c80f37a (diff)
downloadllvm-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