1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/CodeGen
Sanjay Patel f84fc5ad12 [x86] try harder to form LEA from ADD to avoid flag conflicts (PR40483)
LEA doesn't affect flags, so use it more liberally to replace an ADD when
we know that the ADD operands affect flags.

In the motivating example from PR40483:
https://bugs.llvm.org/show_bug.cgi?id=40483
...this lets us avoid duplicating a math op just to avoid flag conflict.

As mentioned in the TODO comments, this heuristic can be extended to
fire more often if that leads to more improvements.

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

llvm-svn: 366431
2019-07-18 12:48:01 +00:00
..
AArch64 [PEI] Don't re-allocate a pre-allocated stack protector slot 2019-07-17 20:46:19 +00:00
AMDGPU GlobalISel: Handle widenScalar of arbitrary G_MERGE_VALUES sources 2019-07-17 20:22:44 +00:00
ARC
ARM [ARM][DAGCOMBINE][FIX] PerformVMOVRRDCombine 2019-07-18 10:05:56 +00:00
AVR
BPF [BPF] add unit tests for preserve_{array,union,struct}_access_index intrinsics 2019-07-15 04:51:34 +00:00
Generic
Hexagon
Inputs [CodeGen] Add stack protector tests where the guard gets re-assigned 2019-07-17 20:46:16 +00:00
Lanai
Mips [MIPS GlobalISel] ClampScalar and select pointer G_ICMP 2019-07-17 12:08:01 +00:00
MIR
MSP430
NVPTX
PowerPC [NFC][PowerPC] Add the test to test the pass block-placement 2019-07-18 06:56:49 +00:00
RISCV [RISCV][NFC] Remove outdated TODO from test/CodeGen/RISCV/dwarf-eh.ll 2019-07-17 14:04:48 +00:00
SPARC
SystemZ [Strict FP] Allow more relaxed scheduling 2019-07-16 15:55:45 +00:00
Thumb
Thumb2 [ARM] MVE vector for 64bit types 2019-07-15 18:42:54 +00:00
WebAssembly [WebAssembly] Compile all TLS on Emscripten as local-exec 2019-07-16 22:22:08 +00:00
WinCFGuard
WinEH
X86 [x86] try harder to form LEA from ADD to avoid flag conflicts (PR40483) 2019-07-18 12:48:01 +00:00
XCore