1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/CodeGen
Craig Topper 3f5aaeaf08 [DAGCombiner] Add one use check to fold (not (and x, y)) -> (or (not x), (not y))
Summary:
If the and has an additional use we shouldn't invert it. That creates an additional instruction.

While there add a one use check to the transform above that looked similar.

Reviewers: spatel, RKSimon

Reviewed By: RKSimon

Subscribers: llvm-commits

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

llvm-svn: 325019
2018-02-13 16:25:27 +00:00
..
AArch64 GlobalISel: IRTranslate llvm.fmuladd.* intrinsic 2018-02-13 00:47:46 +00:00
AMDGPU Reapply "AMDGPU: Add 32-bit constant address space" 2018-02-09 16:57:57 +00:00
ARC
ARM [ARM] Allow half types in ConstantPool 2018-02-13 15:34:09 +00:00
AVR
BPF
Generic
Hexagon [DAG] make binops with undef operands consistent with IR 2018-02-12 21:37:27 +00:00
Inputs
Lanai
Mips [mips] Fix 'l' constraint handling for types smaller than 32 bits 2018-02-12 12:21:55 +00:00
MIR [GISel]: Verify COPIES involving generic registers. 2018-02-09 01:27:23 +00:00
MSP430
Nios2
NVPTX
PowerPC
RISCV
SPARC
SystemZ
Thumb
Thumb2
WebAssembly [WebAssembly] Add mechanisms for specifying an explicit import module name. 2018-02-09 23:13:22 +00:00
WinCFGuard
WinEH
X86 [DAGCombiner] Add one use check to fold (not (and x, y)) -> (or (not x), (not y)) 2018-02-13 16:25:27 +00:00
XCore Emit smaller exception tables for non-SJLJ mode. 2018-02-09 17:13:37 +00:00