commit | 90747e34e6ca7162eaf8dde032649071045f161d | [log] [tgz] |
---|---|---|
author | Cameron Zwarich <zwarich@apple.com> | Sun Oct 23 07:02:10 2011 +0000 |
committer | Cameron Zwarich <zwarich@apple.com> | Sun Oct 23 07:02:10 2011 +0000 |
tree | 3845880746f6435db460b54e981f4ea1c5c29b5e | |
parent | 4fea38f7732bccd1781390aedcef2bbf87e25990 [diff] |
The element insertion code in scalar replacement doesn't handle incorrect element types, even though the element extraction code does. It is surprising that this bug has been here for so long. Fixes <rdar://problem/10318778>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142740 91177308-0d34-0410-b5e6-96231b3b80d8