1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 13:33:37 +02:00
llvm-mirror/test/Transforms/Util/MemorySSA
George Burgess IV a2fd52e3bc Fix bugs in the MemorySSA walker.
There are a few bugs in the walker that this patch addresses.
Primarily:
- Caching can break when we have multiple BBs without phis
- We weren't optimizing some phis properly
- Because of how the DFS iterator works, there were times where we
  wouldn't cache any results of our DFS

I left the test cases with FIXMEs in, because I'm not sure how much
effort it will take to get those to work (read: We'll probably
ultimately have to end up redoing the walker, or we'll have to come up
with some creative caching tricks), and more test coverage = better.

Differential Revision: http://reviews.llvm.org/D18065

llvm-svn: 264180
2016-03-23 18:31:55 +00:00
..
atomic-clobber.ll
cyclicphi.ll Fix bugs in the MemorySSA walker. 2016-03-23 18:31:55 +00:00
function-clobber.ll
function-mem-attrs.ll
livein.ll [MemorySSA] Consider def-only BBs for live-in calculations. 2016-03-21 21:25:39 +00:00
load-invariant.ll
many-dom-backedge.ll
many-doms.ll
multi-edges.ll
multiple-backedges-hal.ll
multiple-locations.ll Add a test for MemorySSA. NFC. 2016-02-05 00:42:02 +00:00
no-disconnected.ll
optimize-use.ll
phi-translation.ll Fix bugs in the MemorySSA walker. 2016-03-23 18:31:55 +00:00
volatile-clobber.ll