commit | 83699284be38eea39a74a52d5cf5483a1237d31e | [log] [tgz] |
---|---|---|
author | Joey Gouly <joey.gouly@arm.com> | Fri May 24 12:29:54 2013 +0000 |
committer | Joey Gouly <joey.gouly@arm.com> | Fri May 24 12:29:54 2013 +0000 |
tree | af5ede2aa1593d197e65951044076ccb5a2dbb5f | |
parent | c63995394de60996ebfe52a47cf2e3a0716d7e3c [diff] |
scalarizePHI needs to insert the next ExtractElement in the same block as the BinaryOperator, *not* in the block where the IRBuilder is currently inserting into. Fixes a bug where scalarizePHI would create instructions that would not dominate all uses. llvm-svn: 182639