llvm-project/llvm/test/CodeGen
Geoff Berry 75c4ae3066 [ARM] Fix bug in ARMLoadStoreOptimizer when kill flags are missing.
Summary:
ARMLoadStoreOpt::FixInvalidRegPairOp() was only checking if one of the
load destination registers to be split overlapped with the base register
if the base register was marked as killed.  Since kill flags may not
always be present, this can lead to incorrect code.

This bug was exposed by my MachineCopyPropagation change D30751 breaking
the sanitizer-x86_64-linux-android buildbot.

Also clean up some dead code and add an assert that a register offset is
never encountered by this code, since it does not handle them correctly.

Reviewers: MatzeB, qcolombet, t.p.northover

Subscribers: aemerson, javed.absar, kristof.beyls, mcrosier, llvm-commits

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

llvm-svn: 311907
2017-08-28 19:03:45 +00:00
..
AArch64 [GISel]: Implement widenScalar for Legalizing G_PHI 2017-08-25 04:57:27 +00:00
AMDGPU [AMDGPU] Fix regression in AMDGPULibCalls allowing native for doubles 2017-08-28 18:00:08 +00:00
ARC [ARC] Add ARC backend. 2017-08-24 15:40:33 +00:00
ARM [ARM] Fix bug in ARMLoadStoreOptimizer when kill flags are missing. 2017-08-28 19:03:45 +00:00
AVR [AVR] Use the correct register classes for 16-bit atomic operations 2017-08-24 00:14:38 +00:00
BPF bpf: add variants of -mcpu=# and support for additional jmp insns 2017-08-23 04:25:57 +00:00
Generic [TargetPassConfig] Feature generic options to setup start/stop-after/before 2017-07-31 18:24:07 +00:00
Hexagon [Hexagon] Check for potential bank conflicts in post-RA scheduling 2017-08-28 18:36:21 +00:00
Inputs
Lanai
MIR Parse and print DIExpressions inline to ease IR and MIR testing 2017-08-23 20:31:27 +00:00
MSP430 [DAG] Improve Aliasing of operations to static alloca 2017-07-18 20:06:24 +00:00
Mips [mips] Generate NMADD and NMSUB instructions when fneg node is present 2017-08-27 21:07:24 +00:00
NVPTX [NVPTX] Add lowering of i128 params. 2017-07-20 21:16:03 +00:00
Nios2 [Nios2] Target registration 2017-05-29 09:48:30 +00:00
PowerPC [DAG] convert vector select-of-constants to logic/math 2017-08-24 23:24:43 +00:00
SPARC Revert "[MachineCopyPropagation] Extend pass to do COPY source forwarding" round 2 2017-08-18 01:43:11 +00:00
SystemZ [SystemZ, MachineScheduler] Improve post-RA scheduling. 2017-08-17 08:33:44 +00:00
Thumb [ARM, Thumb1] Prevent ARMTargetLowering::isLegalAddressingMode from accepting illegal modes 2017-08-24 10:00:25 +00:00
Thumb2 [ARM] Call setBooleanContents(ZeroOrOneBooleanContent) 2017-08-22 11:02:37 +00:00
WebAssembly [WebAssembly] FastISel : Bail to SelectionDAG for constexpr calls 2017-08-24 19:53:44 +00:00
WinEH
X86 [DAGCombiner] Teach visitEXTRACT_SUBVECTOR to turn extracts of BUILD_VECTOR into smaller BUILD_VECTORs 2017-08-28 15:28:33 +00:00
XCore Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00