diff options
Diffstat (limited to 'tools/lli/lli.cpp')
-rw-r--r-- | tools/lli/lli.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp index d62d332..812e52c 100644 --- a/tools/lli/lli.cpp +++ b/tools/lli/lli.cpp @@ -122,7 +122,9 @@ int main(int argc, char **argv, char * const *envp) { if (!TargetTriple.empty()) Mod->setTargetTriple(TargetTriple); - EE = ExecutionEngine::create(MP, ForceInterpreter, &ErrorMsg, Fast); + EE = ExecutionEngine::create(MP, ForceInterpreter, &ErrorMsg, + Fast ? + CodeGenOpt::None : CodeGenOpt::Aggressive); if (!EE && !ErrorMsg.empty()) { std::cerr << argv[0] << ":error creating EE: " << ErrorMsg << "\n"; exit(1); |