[Pipeline] Don't limit ArgumentPromotion to -O3
authorArthur Eubanks <aeubanks@google.com>
Thu, 13 Apr 2023 20:25:08 +0000 (13:25 -0700)
committerArthur Eubanks <aeubanks@google.com>
Fri, 14 Apr 2023 17:00:41 +0000 (10:00 -0700)
commit5b386b864c7619897c51a1da97d78f1cf6f3eff6
tree9027bc273f54c6893e06ca8b8552dbb7720bf26c
parent0b911a3dc34a2a9930c8156183af3270f8907f5a
[Pipeline] Don't limit ArgumentPromotion to -O3

This is a cheap pass so there's no need to limit to -O3.
This removes some differences between various pipelines.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D148269
llvm/lib/Passes/PassBuilderPipelines.cpp
llvm/test/Other/new-pm-defaults.ll
llvm/test/Other/new-pm-thinlto-postlink-defaults.ll
llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
llvm/test/Other/new-pm-thinlto-prelink-defaults.ll
llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll