diff options
Diffstat (limited to 'include/llvm/Support/PassNameParser.h')
-rw-r--r-- | include/llvm/Support/PassNameParser.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h index c35f762cb8..c324161f30 100644 --- a/include/llvm/Support/PassNameParser.h +++ b/include/llvm/Support/PassNameParser.h @@ -48,8 +48,7 @@ public: // Ignore non-selectable and non-constructible passes! Ignore // non-optimizations. return P->getPassArgument() == 0 || *P->getPassArgument() == 0 || - (P->getNormalCtor() == 0 && P->getDataCtor() == 0 && - P->getTargetCtor() == 0) || + (P->getNormalCtor() == 0 && P->getTargetCtor() == 0) || ignorablePassImpl(P); } |