[PATCH] D137626: [test] Avoid legacy PM default pipelines (O0, O1 etc) when running opt

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 12:28:00 PST 2022


bjope added a comment.

In D137626#3915570 <https://reviews.llvm.org/D137626#3915570>, @aeubanks wrote:

> we should add a check in `opt.cpp` that we don't mix `-O#` with other passes (there's already a similar check for the new PM)

I was thinking about something like this, that remove the support for `opt -O#` with legacy PM:  https://reviews.llvm.org/D137663


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137626/new/

https://reviews.llvm.org/D137626



More information about the llvm-commits mailing list