1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 06:22:56 +02:00
llvm-mirror/test/CodeGen
Matthias Braun 69950e68ba 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
CPP
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
Mips [mips] Correct operand order in DSP's mthi/mtlo 2016-01-12 15:15:14 +00:00
MIR Reapply r257105 "[Verifier] Check that debug values have proper size" 2016-01-15 00:46:17 +00:00
MSP430
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
Thumb
Thumb2
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