llvm-project/llvm/test/CodeGen
Matthias Braun 4e67e5c91a X86ISelLowering: Fix cmov(cmov) special lowering bug
There's a special case in EmitLoweredSelect() that produces an improved
lowering for cmov(cmov) patterns. However this special lowering is
currently broken if the inner cmov has multiple users so this patch
stops using it in this case.

If you wonder why this wasn't fixed by continuing to use the special
lowering and inserting a 2nd PHI for the inner cmov: I believe this
would incur additional copies/register pressure so the special lowering
does not improve upon the normal one anymore in this case.

This fixes http://llvm.org/PR26256 (= rdar://24329747)

llvm-svn: 258729
2016-01-25 22:08:25 +00:00
..
AArch64 AArch64ISel: Fix ccmp code selection matching deep expressions. 2016-01-23 04:05:22 +00:00
AMDGPU AMDGPU: Replace some deprecated intrinsic uses in tests 2016-01-23 05:42:49 +00:00
ARM [ARM] Add DSP build attribute and extension targeting 2016-01-25 11:26:11 +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 Unxfail passing testcase on Hexagon 2016-01-14 15:24:15 +00:00
Hexagon [Hexagon] Use general purpose registers to spill pred/mod registers into 2016-01-22 19:15:58 +00:00
Inputs DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
MIR Reapply r257105 "[Verifier] Check that debug values have proper size" 2016-01-15 00:46:17 +00:00
MSP430 Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
Mips [mips] Correct operand order in DSP's mthi/mtlo 2016-01-12 15:15:14 +00:00
NVPTX [CUDA] Die gracefully when trying to output an LLVM alias. 2016-01-23 21:12:20 +00:00
PowerPC [PowerPC] Fix large code model with the ELFv2 ABI 2016-01-13 13:12:23 +00:00
SPARC [SPARC] Revamp AnalyzeBranch and add ReverseBranchCondition. 2016-01-13 04:44:14 +00:00
SystemZ [SystemZ] Fix assertion failure in adjustSubwordCmp 2015-12-16 18:04:06 +00:00
Thumb [Thumb] Fix assembler error 'cannot honor width suffix pop {lr}' 2015-12-28 21:40:45 +00:00
Thumb2 Fix test case label check 2015-11-20 20:24:49 +00:00
WebAssembly [WebAssembly] Fix unbalanced register stack code in the case of late DCE. 2016-01-25 16:48:44 +00:00
WinEH [WinEH] Don't miscompile cleanups which conditionally unwind to caller 2016-01-23 23:54:33 +00:00
X86 X86ISelLowering: Fix cmov(cmov) special lowering bug 2016-01-25 22:08:25 +00:00
XCore [SelectionDAG] Fold more offsets into GlobalAddresses 2016-01-22 03:57:34 +00:00