[llvm-commits] CVS: llvm/include/llvm/Support/PassNameParser.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Nov 19 11:11:00 PST 2002
Changes in directory llvm/include/llvm/Support:
PassNameParser.h updated: 1.2 -> 1.3
---
Log message:
Ignore options that are ""
---
Diffs of the changes:
Index: llvm/include/llvm/Support/PassNameParser.h
diff -u llvm/include/llvm/Support/PassNameParser.h:1.2 llvm/include/llvm/Support/PassNameParser.h:1.3
--- llvm/include/llvm/Support/PassNameParser.h:1.2 Mon Sep 16 11:01:41 2002
+++ llvm/include/llvm/Support/PassNameParser.h Tue Nov 19 11:10:14 2002
@@ -46,7 +46,7 @@
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);
More information about the llvm-commits
mailing list