llvm-project/llvm/test/CodeGen
Stanislav Mekhanoshin a45584bebe Fold fneg and fabs like multiplications
Given no NaNs and no signed zeroes it folds:

(fmul X, (select (fcmp X > 0.0), -1.0, 1.0)) -> (fneg (fabs X))
(fmul X, (select (fcmp X > 0.0), 1.0, -1.0)) -> (fabs X)

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

llvm-svn: 306592
2017-06-28 20:25:50 +00:00
..
AArch64 [AArch64] AArch64CondBrTuningPass generates wrong branch instructions 2017-06-28 15:09:11 +00:00
AMDGPU Fold fneg and fabs like multiplications 2017-06-28 20:25:50 +00:00
ARM [ARM] Make -mcpu=generic schedule for an in-order core (Cortex-A8). 2017-06-28 07:07:03 +00:00
AVR [AVR] Fix a big in shift operator lowering; Authored by Dr. Gergo Erdi 2017-05-31 06:27:46 +00:00
BPF bpf: avoid load from read-only sections 2017-06-16 15:41:16 +00:00
Generic [SystemZ] Fix trap issue and enable expensive checks. 2017-06-23 14:30:46 +00:00
Hexagon Missed a check for UndefVI in r306466 2017-06-28 15:46:16 +00:00
Inputs
Lanai CodeGen: Rename DEBUG_TYPE to match passnames 2017-05-25 21:26:32 +00:00
MIR llc: Add ability to parse mir from stdin 2017-06-06 20:06:57 +00:00
MSP430 [MSP430] Fix data layout string. 2017-06-23 21:11:45 +00:00
Mips [mips][msa] Splat.d endianness check 2017-06-23 09:09:31 +00:00
NVPTX Add zero-length check to memcpy/memset load store loop expansion 2017-06-28 13:07:37 +00:00
Nios2 [Nios2] Target registration 2017-05-29 09:48:30 +00:00
PowerPC [CGP] add specialization for memcmp expansion with only one basic block 2017-06-27 23:15:01 +00:00
SPARC [Solaris] emit .init_array instead of .ctors on Solaris (Sparc/x86) 2017-06-21 20:36:32 +00:00
SystemZ [SystemZ] Fix missing emergency spill slot corner case 2017-06-26 16:50:32 +00:00
Thumb RegScavenging: Add scavengeRegisterBackwards() 2017-06-17 02:08:18 +00:00
Thumb2 [ARM] Improve if-conversion for M-class CPUs without branch predictors 2017-06-28 14:11:15 +00:00
WebAssembly [WebAssembly] WebAssemblyFastISel getelementptr variable index support 2017-06-22 21:26:08 +00:00
WinEH
X86 Another test commit. 2017-06-28 17:12:51 +00:00
XCore AsmPrinter: mark the beginning and the end of a function in verbose mode 2017-05-23 21:22:16 +00:00