llvm-6502/test/Transforms/DeadStoreElimination
Chris Lattner cc10244d77 Fix PR8728, a miscompilation I recently introduced. When optimizing
memcpy's like:
  memcpy(A, B)
  memcpy(A, C)

we cannot delete the first memcpy as dead if A and C might be aliases.
If so, we actually get:

  memcpy(A, B)
  memcpy(A, A)

which is not correct to transform into:

  memcpy(A, A)

This patch was heavily influenced by Jakub Staszak's patch in PR8728, thanks
Jakub!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120974 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-06 01:48:06 +00:00
..
const-pointers.ll
crash.ll
dg.exp
free.ll
lifetime.ll
memintrinsics.ll
no-targetdata.ll
PartialStore.ll Enhance DSE to handle the variable index case in PR8657. 2010-11-30 23:43:23 +00:00
simple.ll Fix PR8728, a miscompilation I recently introduced. When optimizing 2010-12-06 01:48:06 +00:00