llvm-6502/test
Eli Friedman 12bb766ae9 Fix for PR3016: detect the tricky case, where there are
unfoldable references to a PHI node in the block being folded, and disable
the transformation in that case.  The correct transformation of such PHI
nodes depends on whether BB dominates Succ, and dominance is expensive 
to compute here.  (Alternatively, it's possible to check whether any 
uses are live, but that's also essentially a dominance calculation. 
Another alternative is to use reg2mem, but it probably isn't a good idea to
use that in simplifycfg.)

Also, remove some incorrect code from CanPropagatePredecessorsForPHIs 
which is made unnecessary with this patch: it didn't consider the case 
where a PHI node in BB has multiple uses.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79174 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-16 04:23:49 +00:00
..
Analysis Make LLVM Assembly dramatically easier to read by aligning the comments, 2009-08-12 17:23:50 +00:00
Archive
Assembler Various AsmWriter output cleanups. Use WriteAsOperand instead of 2009-08-13 01:36:44 +00:00
Bindings/Ocaml Fix whitespace expectations to match the new AsmWriter behavior. 2009-08-12 17:39:04 +00:00
Bitcode
BugPoint remove nondeterminstic test. 2009-08-08 22:56:37 +00:00
CodeGen Fix test on Linux. 2009-08-15 21:28:17 +00:00
DebugInfo Take another shot at disabling this when no ppc support is available. 2009-08-14 16:40:12 +00:00
ExecutionEngine
Feature
FrontendAda
FrontendC Test for llvm-gcc patch 78762. 2009-08-12 01:14:30 +00:00
FrontendC++ Testcase for r78770. 2009-08-12 01:47:51 +00:00
FrontendFortran
FrontendObjC
FrontendObjC++
Integer Now that numbered types have their number printed, it's no longer 2009-08-12 23:54:22 +00:00
lib
Linker Link NamedMDNodes. 2009-08-11 18:01:24 +00:00
LLVMC
MC/AsmParser llvm-mc: Fix bugs where bytes were unintentionally being printed as signed. 2009-08-14 19:59:24 +00:00
Other
Scripts
TableGen
Transforms Fix for PR3016: detect the tricky case, where there are 2009-08-16 04:23:49 +00:00
Verifier
Makefile Fix ocaml "make check" tests, that wasn't finding the proper c++ compiler. 2009-08-10 19:45:05 +00:00
Makefile.tests
TestRunner.sh