llvm-project/llvm/test/CodeGen
Reid Kleckner bf828eedb4 Don't add DBG_VALUE instructions for static allocas in dbg.declare
Summary:
An llvm.dbg.declare of a static alloca is always added to the
MachineFunction dbg variable map, so these values are entirely
redundant. They survive all the way through codegen to be ignored by
DWARF emission.

Effectively revert r113967

Two bugpoint-reduced test cases from 2012 broke as a result of this
change. Despite my best efforts, I haven't been able to rewrite the test
case using dbg.value. I'm not too concerned about the lost coverage
because these were reduced from the test-suite, which we still run.

Reviewers: aprantl, dblaikie

Subscribers: llvm-commits

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

llvm-svn: 302461
2017-05-08 19:58:15 +00:00
..
AArch64 [AArch64][RegisterBankInfo] Change the default mapping of fp loads. 2017-05-08 18:16:31 +00:00
AMDGPU [AMDGPU] In the new waitcnt insertion pass, use getHeader 2017-05-05 21:10:17 +00:00
ARM [ARM][NEON] Add support for ISD::ABS lowering 2017-05-08 10:37:34 +00:00
AVR [AVR] Reserve the Y register in all functions 2017-05-03 11:56:01 +00:00
BPF [bpf] fix a bug which causes incorrect big endian reloc fixup 2017-05-05 18:05:00 +00:00
Generic [Hexagon] Unxfail passing tests 2017-04-13 16:05:35 +00:00
Hexagon [RDF] Remove covered parts of reached uses for phi and use in same block 2017-05-05 22:10:32 +00:00
Inputs
Lanai
MIR Add missing target triple to test 2017-05-05 21:50:26 +00:00
MSP430 [MSP430] Fix PR32769: Select8 and Select16 need to have SR in Uses. 2017-04-26 00:33:59 +00:00
Mips [mips][microMIPS] Adding code size reduction pass for MicroMIPS 2017-04-27 13:10:48 +00:00
NVPTX [SelectionDAG] Improve support for promotion of <1 x fX> floating point argument types (PR31088) 2017-05-02 10:33:08 +00:00
PowerPC [PPC] When restoring R30 (PIC base pointer), mark it as <def> 2017-05-04 19:14:54 +00:00
SPARC Don't emit CFI instructions at the end of a function 2017-04-24 18:45:59 +00:00
SystemZ [SystemZ] Make copyPhysReg() add impl-use operands of super reg. 2017-05-04 13:33:30 +00:00
Thumb [ARM] ScheduleDAGRRList::DelayForLiveRegsBottomUp must consider OptionalDefs 2017-04-23 06:58:08 +00:00
Thumb2 Add address space mangling to lifetime intrinsics 2017-04-10 20:18:21 +00:00
WebAssembly [WebAssembly] Fix WebAssemblyOptimizeReturned after r300367 2017-04-17 21:40:28 +00:00
WinEH
X86 Don't add DBG_VALUE instructions for static allocas in dbg.declare 2017-05-08 19:58:15 +00:00
XCore In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled. 2017-03-14 00:34:14 +00:00