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 Make BasicAliasAnalysis a normal AliasAnalysis implementation which 2010-10-18 18:04:47 +00:00
crash.ll clean up DSE tests, removing some poorly reduced and useless old test, 2010-11-30 01:00:34 +00:00
dg.exp
free.ll Enhance DSE to handle the case where a free call makes more than 2010-11-12 02:19:17 +00:00
lifetime.ll Make BasicAliasAnalysis a normal AliasAnalysis implementation which 2010-10-18 18:04:47 +00:00
memintrinsics.ll
no-targetdata.ll Make BasicAliasAnalysis a normal AliasAnalysis implementation which 2010-10-18 18:04:47 +00:00
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