diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-09 00:39:23 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-09 00:39:23 +0000 |
commit | bf87e2491789d6ff788629e22e93d0c1ca02ae85 (patch) | |
tree | 4bdfa29d7295871fad0d25d95f12a9d8434e02c8 /include/llvm/Support/PassNameParser.h | |
parent | 1cd050931fb429e4e2eab0fa4fe5b29e2cf4b9a4 (diff) | |
download | llvm-bf87e2491789d6ff788629e22e93d0c1ca02ae85.tar.gz llvm-bf87e2491789d6ff788629e22e93d0c1ca02ae85.tar.bz2 llvm-bf87e2491789d6ff788629e22e93d0c1ca02ae85.tar.xz |
Re-apply bottom-up fast-isel, with fixes. Be very careful to avoid emitting
a DBG_VALUE after a terminator, or emitting any instructions before an EH_LABEL.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PassNameParser.h')
-rw-r--r-- | include/llvm/Support/PassNameParser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h index cdca978cfe..42639a6d7e 100644 --- a/include/llvm/Support/PassNameParser.h +++ b/include/llvm/Support/PassNameParser.h @@ -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); |