[llvm] af26d68 - [opt] Pin region viewer passes to legacy PM.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 23 14:26:15 PST 2022
Author: Michael Kruse
Date: 2022-02-23T16:26:07-06:00
New Revision: af26d68ddc392cdc0b87cf638f1b033520b9c68b
URL: https://github.com/llvm/llvm-project/commit/af26d68ddc392cdc0b87cf638f1b033520b9c68b
DIFF: https://github.com/llvm/llvm-project/commit/af26d68ddc392cdc0b87cf638f1b033520b9c68b.diff
LOG: [opt] Pin region viewer passes to legacy PM.
The RegionPrinter, RegionOnlyPrinter, RegionViewer and RegionOnlyViewer passes have not yet been ported to the new pass manager.
Reviewed By: aeubanks
Differential Revision: https://reviews.llvm.org/D119897
Added:
Modified:
llvm/tools/opt/opt.cpp
Removed:
################################################################################
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index b503547221986..3eb7f8b82f4a8 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/tools/opt/opt.cpp
@@ -499,7 +499,9 @@ static bool shouldPinPassToLegacyPM(StringRef Pass) {
"loop-reduce", "lower-amx-type",
"pre-amx-config", "lower-amx-intrinsics",
"polyhedral-info", "replace-with-veclib",
- "jmc-instrument"};
+ "jmc-instrument", "dot-regions",
+ "dot-regions-only", "view-regions",
+ "view-regions-only"};
for (const auto &P : PassNamePrefix)
if (Pass.startswith(P))
return true;
More information about the llvm-commits
mailing list