Skip to content

Commit af26d68

Browse files
committed
[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
1 parent c990d56 commit af26d68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/tools/opt/opt.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,9 @@ static bool shouldPinPassToLegacyPM(StringRef Pass) {
499499
"loop-reduce", "lower-amx-type",
500500
"pre-amx-config", "lower-amx-intrinsics",
501501
"polyhedral-info", "replace-with-veclib",
502-
"jmc-instrument"};
502+
"jmc-instrument", "dot-regions",
503+
"dot-regions-only", "view-regions",
504+
"view-regions-only"};
503505
for (const auto &P : PassNamePrefix)
504506
if (Pass.startswith(P))
505507
return true;

0 commit comments

Comments
 (0)