llvm-6502/lib
Chris Lattner b5c16705fd Change Type::isAbstract to have better comments, a more correct name
(PromoteAbstractToConcrete), and to use a set to avoid recomputation.
In particular, this set eliminates the potentially exponential cases
from this little recursive algorithm.

On a particularly nasty testcase, llvm-dis on the .bc file went from 34
minutes (which is when I killed it, it still hadn't finished) to 0.57s.
Remember kids, exponential algorithms are bad.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16772 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-06 16:36:46 +00:00
..
Analysis
Archive
AsmParser
Bytecode Fix doxygen comment 2004-09-28 16:57:46 +00:00
CodeGen Do not repeat the map lookup 2004-10-01 23:16:43 +00:00
Debugger
ExecutionEngine
Linker Make sure the const bit gets inherited correctly when linking declarations 2004-10-05 02:28:11 +00:00
Support Excise the ill-advised RLCOMP compression algorithm and simply leave the 2004-10-04 17:45:44 +00:00
System Must include sys/stat.h before declaring a 'struct stat' 2004-10-05 18:46:59 +00:00
Target Correct some typeos 2004-10-06 16:28:24 +00:00
Transforms Instcombine: -(X sdiv C) -> (X sdiv -C), tested by sub.ll:test16 2004-10-06 15:08:25 +00:00
VMCore Change Type::isAbstract to have better comments, a more correct name 2004-10-06 16:36:46 +00:00
Makefile