llvm-6502/lib/Transforms
Dan Gohman 7375fbcbf2 Fix a bug in LSR's dead-PHI cleanup. If a PHI has a def-use chain that
leads into a cycle involving a different PHI, LSR got stuck running
around that cycle looking for the original PHI. To avoid this, keep
track of visited PHIs and stop searching if we see one more than once.
This fixes PR2570.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53879 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-21 21:45:02 +00:00
..
Hello Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
Instrumentation Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places to 2008-05-23 21:05:58 +00:00
IPO Make GlobalOpt preserve address spaces when scalar replacing aggregate globals. 2008-07-17 11:59:53 +00:00
Scalar Fix a bug in LSR's dead-PHI cleanup. If a PHI has a def-use chain that 2008-07-21 21:45:02 +00:00
Utils Reapply r53735. My last patch fixed the failures Dan observed. 2008-07-18 17:49:43 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00