forked from OSchip/llvm-project
parent
6d192f5bb4
commit
831f94c5a4
|
@ -46,7 +46,7 @@ public:
|
|||
inline bool ignorablePass(const PassInfo *P) const {
|
||||
// Ignore non-selectable and non-constructible passes! Ignore
|
||||
// non-optimizations.
|
||||
return P->getPassArgument() == 0 ||
|
||||
return P->getPassArgument() == 0 || *P->getPassArgument() == 0 ||
|
||||
(P->getNormalCtor() == 0 && P->getDataCtor() == 0 &&
|
||||
P->getTargetCtor() == 0) ||
|
||||
ignorablePassImpl(P);
|
||||
|
|
Loading…
Reference in New Issue