llvm-project/llvm/test/CodeGen
Jonas Paulsson 1993894c03 [SystemZ] Bugfix in shouldCoalesce()
It was discovered in randomized testing that the SystemZ implementation of
shouldCoalesce() could be caused to crash when subreg liveness was
enabled. This was because an undef use of the virtual register was copied
outside current MBB at the point of shouldCoalesce() being called. For more
details, see https://bugs.llvm.org/show_bug.cgi?id=39276.

This patch changes the check for MBB locality from livein/liveout checks to
do checks for all instructions of both intervals being inside MBB. This
avoids the cases with dead defs / undef uses outside MBB, which are not
affecting liveness in/out of MBB.

The original test case included as a reduced .mir test case.

Review: Ulrich Weigand
https://reviews.llvm.org/D54197

llvm-svn: 346406
2018-11-08 15:29:48 +00:00
..
AArch64 [AArch64] [Windows] Trap after noreturn calls. 2018-11-07 21:31:14 +00:00
AMDGPU [AMDGPU] Extend promote alloca vectorization 2018-11-08 00:16:23 +00:00
ARC
ARM [ARM] Fix CPSR liveness in tMOVCCr_pseudo lowering. 2018-11-07 21:08:13 +00:00
AVR [AVR] Fix a backend bug that left extraneous operands after expansion 2018-11-05 05:49:04 +00:00
BPF [bpf] Test case for symbol information in object file 2018-09-22 17:31:01 +00:00
Generic Workaround PPC backend bug in test for r346322. 2018-11-07 17:01:47 +00:00
Hexagon [Hexagon] Do not reduce load size for globals in small-data 2018-11-02 14:17:47 +00:00
Inputs
Lanai
MIR Add 'REQUIRES: default_triple' to test/CodeGen/MIR/X86/zero-probability.mir 2018-11-07 23:33:55 +00:00
MSP430 [MSP430] Add MC layer 2018-11-08 00:03:45 +00:00
Mips [MIPS GlobalISel] Set operand order for G_MERGE and G_UNMERGE 2018-11-07 11:45:43 +00:00
NVPTX
Nios2
PowerPC [Power9] Add support for stxvw4x.be and stxvd2x.be intrinsics 2018-11-05 17:31:26 +00:00
RISCV [RISCV] Add some missing expansions for floating-point intrinsics 2018-11-02 19:50:38 +00:00
SPARC Relax fast register allocator related test cases; NFC 2018-10-29 20:10:42 +00:00
SystemZ [SystemZ] Bugfix in shouldCoalesce() 2018-11-08 15:29:48 +00:00
Thumb [ARM] Fix CPSR liveness in tMOVCCr_pseudo lowering. 2018-11-07 21:08:13 +00:00
Thumb2 [ARM] Enable spilling of the hGPR register class in Thumb2 2018-11-08 13:02:10 +00:00
WebAssembly [WebAssembly] Add V128 to WebAssemblyInstrInfo::copyPhysReg 2018-11-08 02:35:28 +00:00
WinCFGuard [COFF] Emit @feat.00 on 64-bit and set the CFG bit when emitting guardcf tables 2018-09-19 09:58:30 +00:00
WinEH
X86 [X86][SSE] Add PR39387 shuffle test case 2018-11-08 14:07:17 +00:00
XCore Relax fast register allocator related test cases; NFC 2018-10-29 20:10:42 +00:00