summaryrefslogtreecommitdiff
path: root/include/llvm/Support/PassNameParser.h
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-09-16 16:01:41 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-09-16 16:01:41 +0000
commit46fece70c231ed5103253d1e151d4ad4fc1e129a (patch)
tree1d44e604a2c86a0e9e40206b31fb8f3685a5a091 /include/llvm/Support/PassNameParser.h
parenta081baac7726cfa49cc0879230feba258053600c (diff)
downloadllvm-46fece70c231ed5103253d1e151d4ad4fc1e129a.tar.gz
llvm-46fece70c231ed5103253d1e151d4ad4fc1e129a.tar.bz2
llvm-46fece70c231ed5103253d1e151d4ad4fc1e129a.tar.xz
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3749 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PassNameParser.h')
-rw-r--r--include/llvm/Support/PassNameParser.h3
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);
}