llvm/test/CodeGen
Cong Hou 2f91ab3d22 Update edge weights properly when merging blocks in if-conversion.
In if-conversion, there is a utility function MergeBlocks() that is used to merge blocks. However, when new edges are built in this function the edge weight is either not provided or not updated properly, leading to a modified CFG with incorrect edge weights. This patch corrects this issue.

Differential Revision: http://reviews.llvm.org/D12513



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248030 91177308-0d34-0410-b5e6-96231b3b80d8
2015-09-18 20:22:41 +00:00
..
AArch64 [AArch64] Improved bitfield instruction selection. 2015-09-18 17:11:53 +00:00
AMDGPU AMDGPU/SI: Fold operands through REG_SEQUENCE instructions 2015-09-09 15:43:26 +00:00
ARM Update edge weights properly when merging blocks in if-conversion. 2015-09-18 20:22:41 +00:00
BPF [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
CPP Fix CPP Backend for GEP API changes for opaque pointer types 2015-09-08 18:42:29 +00:00
Generic Make the default triple optional by allowing an empty string 2015-09-16 05:34:32 +00:00
Hexagon Update edge weights properly when merging blocks in if-conversion. 2015-09-18 20:22:41 +00:00
Inputs DI: Require subprogram definitions to be distinct 2015-08-28 20:26:49 +00:00
Mips [opaque pointer type] Add textual IR support for explicit type parameter for global aliases 2015-09-11 03:22:04 +00:00
MIR Fix PR 24724 - The implicit register verifier shouldn't assume certain operand 2015-09-10 14:04:34 +00:00
MSP430
NVPTX [NVPTX] Let NVPTX backend detect integer min and max patterns. 2015-08-26 23:22:02 +00:00
PowerPC SelectionDAG: Introduce PersistentID to SDNode for assert builds. 2015-09-18 17:41:00 +00:00
SPARC [SPARC] Switch to the Machine Scheduler. 2015-09-10 21:49:06 +00:00
SystemZ [SystemZ] Fix assertion failure in tryBuildVectorShuffle 2015-09-15 14:27:46 +00:00
Thumb DI: Require subprogram definitions to be distinct 2015-08-28 20:26:49 +00:00
Thumb2 Scaling up values in ARMBaseInstrInfo::isProfitableToIfCvt() before they are scaled by a probability to avoid precision issue. 2015-09-18 18:19:40 +00:00
WebAssembly [WebAssembly] Check in an initial CFG Stackifier pass 2015-09-16 16:51:30 +00:00
WinEH [WinEH] Rip out the landingpad-based C++ EH state numbering code 2015-09-16 22:14:46 +00:00
X86 [ShrinkWrap] Refactor the handling of infinite loop in the analysis. 2015-09-17 23:21:34 +00:00
XCore [opaque pointer type] Add textual IR support for explicit type parameter for global aliases 2015-09-11 03:22:04 +00:00