[llvm] d2751f8 - [ExecutionEngine] Re-enable FastISel for non-iOS arm targets.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 11 10:50:34 PST 2020


Author: Lang Hames
Date: 2020-01-11T10:49:59-08:00
New Revision: d2751f8fdf6c072045bab62f6035511e028f46ee

URL: https://github.com/llvm/llvm-project/commit/d2751f8fdf6c072045bab62f6035511e028f46ee
DIFF: https://github.com/llvm/llvm-project/commit/d2751f8fdf6c072045bab62f6035511e028f46ee.diff

LOG: [ExecutionEngine] Re-enable FastISel for non-iOS arm targets.

Patch by Nicolas Capens. Thanks Nicolas!

https://reviews.llvm.org/D65015

Added: 
    

Modified: 
    llvm/lib/ExecutionEngine/TargetSelect.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/ExecutionEngine/TargetSelect.cpp b/llvm/lib/ExecutionEngine/TargetSelect.cpp
index 0d9c6cfa0908..28ea04be1a5e 100644
--- a/llvm/lib/ExecutionEngine/TargetSelect.cpp
+++ b/llvm/lib/ExecutionEngine/TargetSelect.cpp
@@ -83,13 +83,6 @@ TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple,
     FeaturesStr = Features.getString();
   }
 
-  // FIXME: non-iOS ARM FastISel is broken with MCJIT.
-  if (TheTriple.getArch() == Triple::arm &&
-      !TheTriple.isiOS() &&
-      OptLevel == CodeGenOpt::None) {
-    OptLevel = CodeGenOpt::Less;
-  }
-
   // Allocate a target...
   TargetMachine *Target =
       TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr,


        


More information about the llvm-commits mailing list