diff options
Diffstat (limited to 'tools/llc')
-rw-r--r-- | tools/llc/llc.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 9643f1e..2a68686 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -123,11 +123,6 @@ int main(int argc, char **argv) { PassManager Passes; Passes.add(new TargetData(TD)); -#ifndef NDEBUG - if(!NoVerify) - Passes.add(createVerifierPass()); -#endif - // Create a new pass for each one specified on the command line for (unsigned i = 0; i < LLCPassList.size(); ++i) { const PassInfo *aPass = LLCPassList[i]; @@ -141,6 +136,10 @@ int main(int argc, char **argv) { } } +#ifndef NDEBUG + if(!NoVerify) + Passes.add(createVerifierPass()); +#endif // Figure out where we are going to send the output... std::ostream *Out = 0; |