commit | a756b1d914eaf4ad610d29398e5831b394bd1547 | [log] [tgz] |
---|---|---|
author | Bob Wilson <bob.wilson@apple.com> | Tue Jan 19 04:32:48 2010 +0000 |
committer | Bob Wilson <bob.wilson@apple.com> | Tue Jan 19 04:32:48 2010 +0000 |
tree | a67b71bd18f269b5e2773edbc7d294283994946f | |
parent | c1ef06ac5264cb43f148590091606f0ed90a72e9 [diff] |
Fix a crash in scalarrepl for memcpy/memmove where the source and destination are the same. I had already fixed a similar problem where the source and destination were different bitcasts derived from the same alloca, but the previous fix still did not handle the case where both operands are exactly the same value. Radar 7552893. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93848 91177308-0d34-0410-b5e6-96231b3b80d8