SuccessChanges

Summary

  1. [Debuginfo][Instcombiner] Do not clone dbg.declare. (details)
  2. [ELF][test] Make tests more tolerant to exact symbol addresses (details)
Commit 6b1c6c1287dc1bb4511687d2795d00046a804572 by a.v.lapshin
[Debuginfo][Instcombiner] Do not clone dbg.declare.
TryToSinkInstruction() has a bug: While updating debug info for sunk
instruction, it could clone dbg.declare intrinsic. That is wrong. There
could be only one dbg.declare. The fix is to not clone dbg.declare
intrinsic and to update it`s arguments, to not to point to sunk
instruction.
Differential Revision: https://reviews.llvm.org/D67217
llvm-svn: 371587
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was addedllvm/test/Transforms/InstCombine/do-not-clone-dbg-declare.ll
Commit 2aace1ea226eb0517f48890066c7851c8f03e3c8 by maskray
[ELF][test] Make tests more tolerant to exact symbol addresses
llvm-svn: 371588
The file was modifiedlld/test/ELF/undef-with-plt-addr.s
The file was modifiedlld/test/ELF/relocation-copy-relro.s
The file was modifiedlld/test/ELF/x86-64-plt-high-addr.s
The file was modifiedlld/test/ELF/ztext.s
The file was modifiedlld/test/ELF/relocation-copy-flags.s
The file was modifiedlld/test/ELF/tls-opt.s
The file was modifiedlld/test/ELF/x86-64-gotpc-relax-nopic.s
The file was modifiedlld/test/ELF/x86-64-plt.s
The file was modifiedlld/test/ELF/x86-64-tls-gdie.s