SuccessChanges

Summary

  1. [LTO] Remove options to disable inlining, vectorization & GVNLoadPRE. (details)
Commit bca16e2fbb451f125c13f811f9f5a37bb38e54e2 by flo
[LTO] Remove options to disable inlining, vectorization & GVNLoadPRE.

This patch removes some ancient options as a clean-up before moving
code-gen to use LTOBackend in D94487.

I think it would preferable to remove those ancient options, because

  1. There are no corresponding options in LTOBackend based tools,
  2. There are no unit tests for them,
  3. They are not passed through by Clang,
  4. At least for GNVLoadPRE, users could just use GVN's `enable-load-pre`.

Alternatively we could add support for those options to lto::Config &
co, but I think it would be better to remove them, unless they are
actually used in practice.

Reviewed By: steven_wu, tejohnson

Differential Revision: https://reviews.llvm.org/D94783
The file was modifiedllvm/include/llvm/LTO/legacy/LTOCodeGenerator.h (diff)
The file was modifiedllvm/tools/lto/lto.cpp (diff)
The file was modifiedllvm/tools/llvm-lto/llvm-lto.cpp (diff)
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp (diff)