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
DebugInfo
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
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
CMakeLists.txt
Makefile
Makefile.unittest