llvm-project/llvm/test/CodeGen
Petar Jovanovic 3af2c992dc [Mips][FastISel] Do not duplicate condition while lowering branches
This change fixes the issue that arises when we duplicate condition from
the predecessor block. If the condition's arguments are not considered alive
across the blocks, fast regalloc gets confused and starts generating reloads
from the slots that have never been spilled to. This change also leads to
smaller code given that, unlike on architectures with condition codes, on
Mips we can branch directly on register value, thus we gain nothing by
duplication.

Patch by Dragan Mladjenovic.

Differential Revision: https://reviews.llvm.org/D48642

llvm-svn: 336084
2018-07-02 08:56:57 +00:00
..
AArch64 [MachineOutliner] Add support for target-default outlining. 2018-06-30 03:56:03 +00:00
AMDGPU AMDGPU/GlobalISel: Make IMPLICIT_DEF of all sizes < 512 legal. 2018-06-30 04:09:44 +00:00
ARC
ARM [ARM] Parallel DSP Pass 2018-06-28 12:55:29 +00:00
AVR [AVR] Set trackLivenessAfterRegAlloc 2018-06-11 14:46:48 +00:00
BPF [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
Generic Implement strip.invariant.group 2018-07-02 04:49:30 +00:00
Hexagon [DAGCombiner] Ensure we use the correct CC result type in visitSDIV (REAPPLIED) 2018-06-28 17:33:41 +00:00
Inputs
Lanai Remove SETCCE use from Lanai's backend 2018-06-03 12:56:24 +00:00
MIR [DebugInfo] Make sure all DBG_VALUEs' reguse operands have IsDebug property 2018-06-21 10:03:34 +00:00
MSP430 Emit a left-shift instead of a power-of-two multiply for jump-tables 2018-05-16 08:58:26 +00:00
Mips [Mips][FastISel] Do not duplicate condition while lowering branches 2018-07-02 08:56:57 +00:00
NVPTX [DAG] fold FP binops with undef operands to NaN 2018-05-21 23:54:19 +00:00
Nios2
PowerPC [PowerPC] Don't make it as pre-inc candidate if displacement isn't 4's multiple for i64 pre-inc load/store 2018-07-02 05:46:09 +00:00
RISCV [RISCV] Add machine function pass to merge base + offset 2018-06-27 20:51:42 +00:00
SPARC [Sparc] Add support for 13-bit PIC 2018-06-11 05:50:08 +00:00
SystemZ Recommit r335333 "[MC] - Add .stack_size sections into groups and link them with .text" 2018-06-22 10:53:47 +00:00
Thumb [ARM] Testcase for Thumb1 cmp with constants. 2018-06-19 00:12:13 +00:00
Thumb2 Generalize MergeBlockIntoPredecessor. Replace uses of MergeBasicBlockIntoOnlyPred. 2018-06-20 22:01:04 +00:00
WebAssembly [WebAssembly] Update comments for non-splat pow2 vector test case 2018-06-29 21:27:20 +00:00
WinCFGuard
WinEH [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
X86 [X86] Fix a few test names in avx512-intrinsics-fast-isel.ll to match their clang intrinsic names. 2018-07-01 23:49:06 +00:00
XCore [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00