[llvm] r290814 - [PMBuilder] Remove RunFloat2Int cl::opt.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 2 09:49:18 PST 2017


Author: davide
Date: Mon Jan  2 11:49:18 2017
New Revision: 290814

URL: http://llvm.org/viewvc/llvm-project?rev=290814&view=rev
Log:
[PMBuilder] Remove RunFloat2Int cl::opt.

The pass has been on by default for a long time without problems.

Modified:
    llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp

Modified: llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp?rev=290814&r1=290813&r2=290814&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp Mon Jan  2 11:49:18 2017
@@ -67,10 +67,6 @@ static cl::opt<bool>
 RunLoopRerolling("reroll-loops", cl::Hidden,
                  cl::desc("Run the loop rerolling pass"));
 
-static cl::opt<bool>
-RunFloat2Int("float-to-int", cl::Hidden, cl::init(true),
-             cl::desc("Run the float2int (float demotion) pass"));
-
 static cl::opt<bool> RunLoadCombine("combine-loads", cl::init(false),
                                     cl::Hidden,
                                     cl::desc("Run the load combining pass"));
@@ -554,8 +550,7 @@ void PassManagerBuilder::populateModuleP
     // correct in the face of IR changes).
     MPM.add(createGlobalsAAWrapperPass());
 
-  if (RunFloat2Int)
-    MPM.add(createFloat2IntPass());
+  MPM.add(createFloat2IntPass());
 
   addExtensionsToPM(EP_VectorizerStart, MPM);
 




More information about the llvm-commits mailing list