commit | 166acc94892f78cdd78a28b30b218ad73cb785fb | [log] [tgz] |
---|---|---|
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | Mon Dec 23 14:51:56 2013 +0000 |
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | Mon Dec 23 14:51:56 2013 +0000 |
tree | d4095fc08bd3534c8959d69c55073908de6d522a | |
parent | b09beed5408f859d8dabfb1a93766d2aedd19280 [diff] |
Fix Scalarizer insertion point when replacing PHIs with insertelements If the Scalarizer scalarized a vector PHI but could not scalarize all uses of it, it would insert a series of insertelements to reconstruct the vector PHI value from the scalar ones. The problem was that it would emit these insertelements immediately after the PHI, even if there were other PHIs after it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197909 91177308-0d34-0410-b5e6-96231b3b80d8