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