llvm-project/llvm/test/CodeGen
Bjorn Pettersson 90cc1b53d0 [DebugInfo] Handle endianness when moving debug info for split integer values (reapplied)
Summary:
Take the target's endianness into account when splitting the
debug information in DAGTypeLegalizer::SetExpandedInteger.

This patch fixes so that, for big-endian targets, the fragment
expression corresponding to the high part of a split integer
value is placed at offset 0, in order to correctly represent
the memory address order.

I have attached a PPC32 reproducer where the resulting DWARF
pieces for a 64-bit integer were incorrectly reversed.

Original patch was reverted due to using -stop-after=isel in
the test case (but that is only working when AMDGPU target
is included in the llc build). The test case has now been
updated to use -stop-before=expand-isel-pseudos instead.

Patch by: dstenb

Reviewers: JDevlieghere, aprantl, dblaikie

Reviewed By: JDevlieghere, aprantl, dblaikie

Subscribers: nemanjai

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

llvm-svn: 314781
2017-10-03 11:03:02 +00:00
..
AArch64 [Legalizer] Add support for G_OR NarrowScalar. 2017-10-03 04:53:56 +00:00
AMDGPU Re-enable "[MachineCopyPropagation] Extend pass to do COPY source forwarding" 2017-10-02 22:01:37 +00:00
ARC [ARC] Add ARC backend. 2017-08-24 15:40:33 +00:00
ARM Re-enable "[MachineCopyPropagation] Extend pass to do COPY source forwarding" 2017-10-02 22:01:37 +00:00
AVR [AVR] Fix the build after setting alignment to 1 in r314179 2017-09-26 02:07:54 +00:00
BPF bpf: add new insns for bswap_to_le and negation 2017-09-28 02:46:11 +00:00
Generic [MIParser] Ensure getHexUint doesn't produce APInts with a bitwidth of 0 2017-09-01 22:17:14 +00:00
Hexagon [Hexagon] Check vector elements for equivalence in the HexagonVectorLoopCarriedReuse pass 2017-10-02 00:34:07 +00:00
Inputs
Lanai
MIR MIR: Serialize CaleeSavedInfo Restored flag 2017-09-28 18:52:14 +00:00
MSP430
Mips Re-enable "[MachineCopyPropagation] Extend pass to do COPY source forwarding" 2017-10-02 22:01:37 +00:00
NVPTX [NVPTX] added match.{any,all}.sync instructions, intrinsics & builtins. 2017-09-26 17:07:23 +00:00
Nios2
PowerPC [DebugInfo] Handle endianness when moving debug info for split integer values (reapplied) 2017-10-03 11:03:02 +00:00
SPARC Re-enable "[MachineCopyPropagation] Extend pass to do COPY source forwarding" 2017-10-02 22:01:37 +00:00
SystemZ [SystemZ] implement shouldCoalesce() 2017-09-29 14:31:39 +00:00
Thumb Re-enable "[MachineCopyPropagation] Extend pass to do COPY source forwarding" 2017-10-02 22:01:37 +00:00
Thumb2 [ARM] Call setBooleanContents(ZeroOrOneBooleanContent) 2017-08-22 11:02:37 +00:00
WebAssembly [WebAssembly] Add sign extend instructions from atomics proposal 2017-09-13 00:29:06 +00:00
WinEH
X86 [X86][SSE] Add support for shuffle combining from PACKSS/PACKUS 2017-10-03 09:54:03 +00:00
XCore Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00