SuccessChanges

Summary

  1. [NewPM] Don't error when there's an unrecognized pass name (details)
Commit 69cf7350628ace9de0908a51b770ecf3ee292848 by aeubanks
[NewPM] Don't error when there's an unrecognized pass name

This currently blocks --print-before/after with a legacy PM pass, for
example when we use the new PM for the optimization pipeline but the
legacy PM for the codegen pipeline. Also in the future when the codegen
pipeline works with the new PM there will be multiple places to specify
passes, so even when everything is using the new PM, there will still be
multiple places that can accept different pass names.

Reviewed By: hoy, ychen

Differential Revision: https://reviews.llvm.org/D94283
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/lib/IR/PassInstrumentation.cpp
The file was modifiedllvm/test/Other/print-before-after.ll
The file was modifiedllvm/include/llvm/IR/PassInstrumentation.h