projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a081baa
)
*** empty log message ***
author
Vikram S. Adve
<vadve@cs.uiuc.edu>
Mon, 16 Sep 2002 16:01:41 +0000
(16:01 +0000)
committer
Vikram S. Adve
<vadve@cs.uiuc.edu>
Mon, 16 Sep 2002 16:01:41 +0000
(16:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3749
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/PassNameParser.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/PassNameParser.h
b/include/llvm/Support/PassNameParser.h
index ba53f8237a8e0de0fd5f8ec1b91029c23c7659f3..81242c3b378ae732aab8afa5c72a0c45f344918c 100644
(file)
--- 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);
}