llvm-6502/unittests
Benjamin Kramer 93702a3b07 BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with a branch probability.
Zero is used by BlockFrequencyInfo as a special "don't know" value. It also
causes a sink for frequencies as you can't ever get off a zero frequency with
more multiplies.

This recovers a 10% regression on MultiSource/Benchmarks/7zip. A zero frequency
was propagated into an inner loop causing excessive spilling.

PR16402.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184584 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-21 19:30:05 +00:00
..
ADT [APFloat] Rename isIEEENormal => isNormal and remove old isNormal method. 2013-06-20 18:34:38 +00:00
Analysis
Bitcode llvm/unittests: Use OwningPtr to fix --vg-leak. 2013-01-23 08:33:13 +00:00
DebugInfo Create a stub for DWARF parser unittests 2013-04-17 08:29:02 +00:00
ExecutionEngine [mips] Remove Triple:mips from SupportedArchs in MCJIT unittests 2013-06-20 20:33:06 +00:00
IR Add unit test to test a trivial verifier check. 2013-06-19 19:26:44 +00:00
Option llvm/unittests: Use OwningPtr to fix --vg-leak. 2013-01-23 08:33:13 +00:00
Support BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with a branch probability. 2013-06-21 19:30:05 +00:00
Transforms Delete the functions F1 and F2 to appease the valgrind bot. 2013-04-10 23:21:26 +00:00
CMakeLists.txt Create a stub for DWARF parser unittests 2013-04-17 08:29:02 +00:00
Makefile Create a stub for DWARF parser unittests 2013-04-17 08:29:02 +00:00
Makefile.unittest