[all-commits] [llvm/llvm-project] 69cf73: [NewPM] Don't error when there's an unrecognized p...
aeubanks via All-commits
all-commits at lists.llvm.org
Thu Jan 7 22:33:52 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 69cf7350628ace9de0908a51b770ecf3ee292848
https://github.com/llvm/llvm-project/commit/69cf7350628ace9de0908a51b770ecf3ee292848
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2021-01-07 (Thu, 07 Jan 2021)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/lib/IR/PassInstrumentation.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/test/Other/print-before-after.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list