llvm-project/llvm/test/CodeGen
Amara Emerson 19ff00dab8 [AArch64] Fix CollectLOH creating an AdrpAdd LOH when there's a live used reg
between the two instructions.

If there's a pattern like:
$xA = ADRP foo @PAGE
[some killing use of reg Xb]
$Xb = ADDXri $Xa, 0, @PAGEOFF

CollectLOH would create an AdrpAdd LOH that resulted in the linker optimizing
this sequence into:
$xB = ADR foo
[some killing use of reg $Xb]
... and therefore clobbers the live $Xb register that was used by the
instruction in between.

This was discovered by a GlobalISel patch D78465 which broke up global variable
accesses into two pseudos, which in some cases could be moved apart.

Differential Revision: https://reviews.llvm.org/D80834
2020-06-01 16:00:55 -07:00
..
AArch64 [AArch64] Fix CollectLOH creating an AdrpAdd LOH when there's a live used reg 2020-06-01 16:00:55 -07:00
AMDGPU AMDGPU: Fix test in code directory 2020-06-01 13:26:51 -04:00
ARC
ARM Add NoMerge MIFlag to avoid MIR branch folding 2020-05-29 12:31:06 -07:00
AVR [AVR] Fix I/O instructions on XMEGA 2020-05-17 19:46:09 +12:00
BPF [BPF] simplify zero extension with MOV_32_64 2020-05-27 11:26:39 -07:00
Generic [FPEnv] Intrinsic llvm.roundeven 2020-05-26 19:24:58 +07:00
Hexagon [MachineVerifier] Verify that a DBG_VALUE has a debug location 2020-05-28 13:53:40 -07:00
Inputs
Lanai
MIR [MachineVerifier] Verify that a DBG_VALUE has a debug location 2020-05-28 13:53:40 -07:00
MSP430
Mips Revert "[llvm][test] Add COM: directives before colon-less non-CHECKs in comments. NFC" 2020-05-22 05:36:15 -06:00
NVPTX
PowerPC [PowerPC] Exploit vabsd on P9 2020-06-01 02:30:27 +00:00
RISCV Add NoMerge MIFlag to avoid MIR branch folding 2020-05-29 12:31:06 -07:00
SPARC
SystemZ Fix errors in use of strictfp attribute. 2020-05-29 12:28:14 -04:00
Thumb [ARM] Don't shrink STM if it would cause an unknown base register store 2020-04-22 14:50:42 +01:00
Thumb2 [ARM] Extra MVE VMLAV reduction patterns 2020-05-29 16:23:24 +01:00
VE [VE] Dynamic stack allocation 2020-05-27 10:11:06 +02:00
WebAssembly [WebAssembly] Fix a bug in finding matching EH pad 2020-05-28 19:46:11 -07:00
WinCFGuard
WinEH
X86 [DebugInfo] Separate fields with commas in headers of type units (3/3). 2020-06-01 17:40:28 +07:00
XCore