SuccessChanges

Summary

  1. [DWARFYAML] Make the debug_abbrev_offset field optional. (details)
  2. [NFC][STLExtras] Add make_first_range(), similar to existing make_second_range() (details)
  3. [NFC][InstructionSimplify] Add a warning about not simplifying to not def-reachable (details)
Commit 12e832cbcb62e43810e8bf2d58db8f1d1ce41b3c by Xing
[DWARFYAML] Make the debug_abbrev_offset field optional.

This patch helps make the debug_abbrev_offset field optional. We don't
need to calculate the value of this field in the future.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D86614
The file was modifiedllvm/include/llvm/ObjectYAML/DWARFYAML.h
The file was modifiedllvm/lib/ObjectYAML/DWARFYAML.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/DWARF/debug-info.yaml
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
Commit 08669fbb439d139e2a66d2ae120a4b5be4fb4f28 by lebedev.ri
[NFC][STLExtras] Add make_first_range(), similar to existing make_second_range()

Having just one of the two seens weird.
I wanted to use it a few times, but it wasn't there.
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
Commit c1b3e32118adff13bf846e0aa8b0b3b4ec04a120 by lebedev.ri
[NFC][InstructionSimplify] Add a warning about not simplifying to not def-reachable

See
https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20200824/824235.html
and
https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20200824/824967.html

InstSimply is not allowed to perform simplifications to instructions
that are not def-reachable from the original instruction.
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/include/llvm/Analysis/InstructionSimplify.h