llvm-project/llvm/test/DebugInfo/AArch64
Aaron Smith 6738960588 [SelectionDAG] Transfer DbgValues when integer operations are promoted
Summary:
DbgValue nodes were not transferred when integer DAG nodes were promoted. For example, if an i32 add node was promoted to an i64 add node by DAGTypeLegalizer::PromoteIntegerResult(), its DbgValue node was not transferred to the new node. The simple fix is to update SetPromotedInteger() to transfer DbgValues. 

Add AArch64/dbg-value-i8.ll to test this change and fix ARM/debug-info-d16-reg.ll which had the wrong DILocalVariable nodes with arg numbers even though they are not for function parameters.

Patch by Se Jong Oh!

Reviewers: vsk, JDevlieghere, aprantl

Reviewed By: JDevlieghere

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

Tags: #debug-info

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

llvm-svn: 327919
2018-03-19 22:58:50 +00:00
..
asan-stack-vars.ll [DebugInfo] Unify dumping of address ranges 2018-01-16 11:17:57 +00:00
big-endian-dump.ll
big-endian.ll Canonicalize the representation of empty an expression in DIGlobalVariableExpression 2017-08-30 18:06:51 +00:00
bitfields.ll llvm-dwarfdump: Make -brief the default and add a -verbose option instead. 2017-09-11 23:05:20 +00:00
cfi-eof-prologue.ll Remove the obsolete offset parameter from @llvm.dbg.value 2017-07-28 20:21:02 +00:00
coalescing.ll [dwarfdump] Pretty print location expressions and location lists 2017-08-29 21:41:21 +00:00
constant-dbgloc.ll
dagcombine-zext.ll Preserve debug info when DAG-combinging (zext (truncate x)) -> (and x, mask). 2017-11-09 19:50:20 +00:00
dbg-value-i8.ll [SelectionDAG] Transfer DbgValues when integer operations are promoted 2018-03-19 22:58:50 +00:00
dwarfdump.ll llvm-dwarfdump: Make -brief the default and add a -verbose option instead. 2017-09-11 23:05:20 +00:00
eh_frame.s
eh_frame_personality.ll
frameindices.ll Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1) 2018-01-19 17:13:12 +00:00
inlined-argument.ll Handle inlined variables in SelectionDAGBuilder::EmitFuncArgumentDbgValue(). 2017-11-08 18:27:13 +00:00
line-header.ll [AArch64][GlobalISel] Enable GlobalISel at -O0 by default 2018-01-02 16:30:47 +00:00
lit.local.cfg
little-endian-dump.ll
processes-relocations.ll
prologue_end.ll [AArch64][GlobalISel] Enable GlobalISel at -O0 by default 2018-01-02 16:30:47 +00:00
struct_by_value.ll