diff options
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Support/PassNameParser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h index ba53f8237a..81242c3b37 100644 --- a/include/llvm/Support/PassNameParser.h +++ b/include/llvm/Support/PassNameParser.h @@ -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); } |