Ignore options that are ""

llvm-svn: 4757
This commit is contained in:
Chris Lattner 2002-11-19 17:10:14 +00:00
parent 6d192f5bb4
commit 831f94c5a4
1 changed files with 1 additions and 1 deletions

View File

@ -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);