forked from OSchip/llvm-project
[FixIrreducible][opt] Mark -fix-irreducible as a codegen pass
So we don't have to specify -enable-new-pm=0.
This commit is contained in:
parent
a7264e5549
commit
865406d21e
|
@ -1,5 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt < %s -fix-irreducible -enable-new-pm=0 -S | FileCheck %s
|
||||
; RUN: opt < %s -fix-irreducible -S | FileCheck %s
|
||||
|
||||
define void @loop_1(i32 %Value, i1 %PredEntry, i1 %PredD) {
|
||||
; CHECK-LABEL: @loop_1(
|
||||
|
|
|
@ -456,7 +456,7 @@ static bool shouldPinPassToLegacyPM(StringRef Pass) {
|
|||
"dot-regions", "dot-regions-only",
|
||||
"view-regions", "view-regions-only",
|
||||
"select-optimize", "expand-large-div-rem",
|
||||
"structurizecfg"};
|
||||
"structurizecfg", "fix-irreducible"};
|
||||
for (const auto &P : PassNamePrefix)
|
||||
if (Pass.startswith(P))
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue