llvm-project/llvm/test/CodeGen
Cong Hou 1938f2eb98 Let SelectionDAG start to use probability-based interface to add successors.
The patch in http://reviews.llvm.org/D13745 is broken into four parts:

1. New interfaces without functional changes.
2. Use new interfaces in SelectionDAG, while in other passes treat probabilities
as weights.
3. Use new interfaces in all other passes.
4. Remove old interfaces.

This the second patch above. In this patch SelectionDAG starts to use
probability-based interfaces in MBB to add successors but other MC passes are
still using weight-based interfaces. Therefore, we need to maintain correct
weight list in MBB even when probability-based interfaces are used. This is
done by updating weight list in probability-based interfaces by treating the
numerator of probabilities as weights. This change affects many test cases
that check successor weight values. I will update those test cases once this
patch looks good to you.


Differential revision: http://reviews.llvm.org/D14361

llvm-svn: 253965
2015-11-24 08:51:23 +00:00
..
AArch64 [CodeGenPrepare] Create more extloads and fewer ands 2015-11-20 22:34:39 +00:00
AMDGPU Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
ARM Let SelectionDAG start to use probability-based interface to add successors. 2015-11-24 08:51:23 +00:00
BPF Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
CPP Fix CPP Backend for GEP API changes for opaque pointer types 2015-09-08 18:42:29 +00:00
Generic Let SelectionDAG start to use probability-based interface to add successors. 2015-11-24 08:51:23 +00:00
Hexagon Let SelectionDAG start to use probability-based interface to add successors. 2015-11-24 08:51:23 +00:00
Inputs DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
MIR MachineVerifier: Add missing linebreak 2015-11-09 23:59:29 +00:00
MSP430 Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
Mips Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
NVPTX Have a single way for creating unique value names. 2015-11-22 00:16:24 +00:00
PowerPC Let SelectionDAG start to use probability-based interface to add successors. 2015-11-24 08:51:23 +00:00
SPARC Drop assert that a call with struct return goes to a function with sret 2015-10-21 20:05:01 +00:00
SystemZ [DAGCombiner] Bugfix for lost chain depenedency. 2015-11-21 13:25:07 +00:00
Thumb Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
Thumb2 Fix test case label check 2015-11-20 20:24:49 +00:00
WebAssembly [WebAssembly] Don't special-case call operand order. 2015-11-23 22:04:06 +00:00
WinEH [WinEH] Disable most forms of demotion 2015-11-19 23:23:33 +00:00
X86 Let SelectionDAG start to use probability-based interface to add successors. 2015-11-24 08:51:23 +00:00
XCore Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00