summaryrefslogtreecommitdiff
path: root/runtimes/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2016-08-29 20:14:04 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2016-08-29 20:14:04 +0000
commit1254de0c5c05324c9cb0298b74c2be734b90aa29 (patch)
treeff878f73416e0d8f5339857a6bb3e3cdd1dc680a /runtimes/CMakeLists.txt
parent5413d61012244456c7352734fa1eb620c80aaa2e (diff)
[LV] Move insertelement sequence after scalar definitions
After r279649 when getting a vector value from VectorLoopValueMap, we create an insertelement sequence on-demand if the value has been scalarized instead of vectorized. We previously inserted this insertelement sequence before the value's first vector user. However, this insert location is problematic if that user is the phi node of a first-order recurrence. With this patch, we move the insertelement sequence after the last scalar instruction we created when scalarizing the value. Thus, the value's vector definition in the new loop will immediately follow its scalar definitions. This should fix PR30183. Reference: https://llvm.org/bugs/show_bug.cgi?id=30183 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtimes/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions