llvm-6502/lib
Chandler Carruth b9cb5b19d9 [unroll] Change the other worklist in the unroll analyzer to be a set
vector.

In addition to dramatically reducing the work required for contrived
example loops, this also has to correct some serious latent bugs in the
cost computation. Previously, we might add an instruction onto the
worklist once for every load which it used and was simplified. Then we
would visit it many times and accumulate "savings" each time.

I mean, fortunately this couldn't matter for things like calls with 100s
of operands, but even for binary operators this code seems like it must
be double counting the savings.

I just noticed this by inspection and due to the runtime problems it can
introduce, I don't have any test cases for cases where the cost produced
by this routine is unacceptable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229059 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-13 04:27:50 +00:00
..
Analysis Fix a crash in the assumption cache when inlining indirect function calls 2015-02-12 21:04:22 +00:00
AsmParser AsmWriter/Bitcode: MDImportedEntity 2015-02-13 01:46:02 +00:00
Bitcode AsmWriter/Bitcode: MDImportedEntity 2015-02-13 01:46:02 +00:00
CodeGen Add support for having multiple sections with the same name and comdat. 2015-02-12 23:29:51 +00:00
DebugInfo Improve llvm-pdbdump output display. 2015-02-13 01:23:51 +00:00
ExecutionEngine Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Fuzzer [fuzzer] move default sanitizer options to a separate file 2015-02-06 19:52:07 +00:00
IR IR: Drop never-used defaults for DIBuilder::createTemplate*(), NFC 2015-02-13 03:35:29 +00:00
IRReader Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
LineEditor Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Linker [LinkModules] Change the way ModuleLinker merges triples. 2015-02-13 00:40:41 +00:00
LTO Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
MC Add support for having multiple sections with the same name and comdat. 2015-02-12 23:29:51 +00:00
Object Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Option Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
ProfileData Fix accidental bit flip. 2015-02-12 16:30:00 +00:00
Support Support: Add dwarf::getOperationEncoding() 2015-02-13 01:05:00 +00:00
TableGen Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Target R600/SI: Remove unnecessary check for fpimm 2015-02-13 02:47:22 +00:00
Transforms [unroll] Change the other worklist in the unroll analyzer to be a set 2015-02-13 04:27:50 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00