llvm-6502/lib
Jakob Stoklund Olesen 990ca5517f Fix a quadratic algorithm in MachineBranchProbabilityInfo.
The getSumForBlock function was quadratic in the number of successors
because getSuccWeight would perform a linear search for an already known
iterator.

This patch was originally committed as r161460, but reverted again
because of assertion failures. Now that duplicate Machine CFG edges have
been eliminated, this works properly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162233 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-20 22:01:38 +00:00
..
Analysis MemoryBuiltins: Properly guard ObjectSizeOffsetVisitor against cycles in the IR. 2012-08-17 19:26:41 +00:00
Archive Remove references to compression in llvm-ar. It has been a long time since we 2012-08-10 01:57:52 +00:00
AsmParser Change the linker_private_weak_def_auto' linkage to linkonce_odr_auto_hide' to 2012-08-17 18:33:14 +00:00
Bitcode Change the linker_private_weak_def_auto' linkage to linkonce_odr_auto_hide' to 2012-08-17 18:33:14 +00:00
CodeGen Fix a quadratic algorithm in MachineBranchProbabilityInfo. 2012-08-20 22:01:38 +00:00
DebugInfo Fix the representation of debug line table in DebugInfo LLVM library, 2012-08-07 11:46:57 +00:00
ExecutionEngine Fix coding style violations in 162135 and 162136. 2012-08-20 17:53:24 +00:00
Linker Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
MC When emitting the PC range in an FDE, use the same data encoding for both ends 2012-08-12 08:09:45 +00:00
Object
Support DataExtractor: Fix integer truncation issues in LEB128 extraction. 2012-08-20 10:52:11 +00:00
TableGen TableGen: Allow use of #NAME# outside of 'def' names. 2012-08-02 18:46:42 +00:00
Target Use a SmallPtrSet to dedup successors in EmitSjLjDispatchBlock. 2012-08-20 20:52:03 +00:00
Transforms InstCombine: Fix a crasher when encountering a function pointer. 2012-08-18 22:04:34 +00:00
VMCore Make atomic load and store of pointers work. Tighten verification of atomic operations 2012-08-17 23:24:29 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile