SuccessChanges

Summary

  1. [ELF][LTO][NPM] Use NPM with ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER (details)
  2. [gold][NPM] Use NPM with ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER (details)
  3. ADT: Remove the unused explicit `OptionalTest` fixture, NFC (details)
  4. ADT: Add hash_value overload for Optional (details)
  5. [indvars] Common a bit of code [NFC] (details)
Commit fa602d74f608f817a1e39af3163e5878b832e9df by aeubanks
[ELF][LTO][NPM] Use NPM with ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D92885
The file was modifiedlld/ELF/Driver.cpp
Commit f0e89e69d6d7f4a097f4e1b1b9e38fe6cc384b7e by aeubanks
[gold][NPM] Use NPM with ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D92869
The file was modifiedllvm/tools/gold/gold-plugin.cpp
Commit e8021f34e1bae8537aba3c834ff0a9a73ad93405 by Duncan P. N. Exon Smith
ADT: Remove the unused explicit `OptionalTest` fixture, NFC

`OptionalTest` was empty; drop it and switch all the tests to use the
shorter `TEST` instead of `TEST_F`.

Differential Revision: https://reviews.llvm.org/D92675
The file was modifiedllvm/unittests/ADT/OptionalTest.cpp
Commit caab41c08e36872d91dddd4a05a5d98948802ac7 by Duncan P. N. Exon Smith
ADT: Add hash_value overload for Optional

Add a `hash_value` for Optional so that other data structures with
optional fields can easily hash them. I have a use for this in an
upcoming patch.

Differential Revision: https://reviews.llvm.org/D92676
The file was modifiedllvm/include/llvm/ADT/Optional.h
The file was modifiedllvm/unittests/ADT/OptionalTest.cpp
Commit 5171b7b40e9813e3fbfaf1e1e3372895c9ff6081 by listmail
[indvars] Common a bit of code [NFC]
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp