1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Transforms/DeadStoreElimination
Chris Lattner db6c348f31 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!

llvm-svn: 120974
2010-12-06 01:48:06 +00:00
..
const-pointers.ll
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
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