1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/Analysis
Benjamin Kramer 3315e168ee 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.

llvm-svn: 184584
2013-06-21 19:30:05 +00:00
..
BasicAA Make BasicAliasAnalysis recognize the fact a noalias argument cannot alias another argument, even if the other argument is not itself marked noalias. 2013-05-28 08:17:48 +00:00
BlockFrequencyInfo BlockFrequency: Saturate at 1 instead of 0 when multiplying a frequency with a branch probability. 2013-06-21 19:30:05 +00:00
BranchProbabilityInfo Add a new function attribute 'cold' to functions. 2013-05-24 12:26:52 +00:00
CallGraph Now that invoke of an intrinsic is possible (for the llvm.do.nothing intrinsic) 2012-09-26 17:16:01 +00:00
CostModel TBAA: remove !tbaa from testing cases if not used. 2013-04-29 22:42:01 +00:00
DependenceAnalysis Modified dump() to provide a little 2012-11-30 00:44:47 +00:00
Dominators Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID 2012-12-30 02:33:22 +00:00
GlobalsModRef TBAA: remove !tbaa from testing cases if not used. 2013-04-29 22:42:01 +00:00
LoopInfo Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
MemoryDependenceAnalysis Fix unchecked uses of DominatorTree in MemoryDependenceAnalysis. 2013-05-06 02:07:24 +00:00
PostDominators Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed. 2012-02-16 06:28:33 +00:00
Profiling AArch64: use MCJIT by default and enable related tests. 2013-05-06 16:51:08 +00:00
RegionInfo RegionInfo: Do not crash if unreachable block is found 2013-05-03 15:48:34 +00:00
ScalarEvolution Unit test for SCEV fix r182989, PR16130. 2013-05-31 16:42:41 +00:00
TypeBasedAliasAnalysis Struct-path aware TBAA: change the format of TBAAStructType node. 2013-04-27 00:26:11 +00:00