Re-apply bottom-up fast-isel, with fixes. Be very careful to avoid emitting
[oota-llvm.git] / include / llvm / Support / PassNameParser.h
index cdca978cfef64cc642f0ca201824acfa5dc2d57a..42639a6d7e1bac8771893a5b96934cf00844620b 100644 (file)
@@ -69,6 +69,7 @@ public:
   virtual void passRegistered(const PassInfo *P) {
     if (ignorablePass(P) || !Opt) return;
     if (findOption(P->getPassArgument()) != getNumOptions()) {
+      return;
       errs() << "Two passes with the same argument (-"
            << P->getPassArgument() << ") attempted to be registered!\n";
       llvm_unreachable(0);