[llvm] r322158 - [ExecutionEngine] Remove an unused variable.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 19:43:14 PST 2018


Author: lhames
Date: Tue Jan  9 19:43:14 2018
New Revision: 322158

URL: http://llvm.org/viewvc/llvm-project?rev=322158&view=rev
Log:
[ExecutionEngine] Remove an unused variable.

Patch by Evgeniy Tyurin. Thanks Evgeniy!

Review: https://reviews.llvm.org/D41431

Modified:
    llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp

Modified: llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp?rev=322158&r1=322157&r2=322158&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp Tue Jan  9 19:43:14 2018
@@ -532,7 +532,6 @@ ExecutionEngine *EngineBuilder::create(T
   // Unless the interpreter was explicitly selected or the JIT is not linked,
   // try making a JIT.
   if ((WhichEngine & EngineKind::JIT) && TheTM) {
-    Triple TT(M->getTargetTriple());
     if (!TM->getTarget().hasJIT()) {
       errs() << "WARNING: This target JIT is not designed for the host"
              << " you are running.  If bad things happen, please choose"




More information about the llvm-commits mailing list