forked from OSchip/llvm-project
parent
df7d0b5a9e
commit
4b775b2763
|
@ -47,7 +47,8 @@ public:
|
||||||
// Ignore non-selectable and non-constructible passes! Ignore
|
// Ignore non-selectable and non-constructible passes! Ignore
|
||||||
// non-optimizations.
|
// non-optimizations.
|
||||||
return P->getPassArgument() == 0 ||
|
return P->getPassArgument() == 0 ||
|
||||||
(P->getNormalCtor() == 0 && P->getDataCtor() == 0) ||
|
(P->getNormalCtor() == 0 && P->getDataCtor() == 0 &&
|
||||||
|
P->getTargetCtor() == 0) ||
|
||||||
ignorablePassImpl(P);
|
ignorablePassImpl(P);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue