summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2015-03-27 02:00:11 +0000
committerNick Lewycky <nicholas@mxc.ca>2015-03-27 02:00:11 +0000
commitffb0864b44c49fa4ade8e666c64da65d9a49c8c8 (patch)
tree6ad5f9b7f2452895066c7f591828884d9ad62055 /llvm/lib/Transforms/IPO
parent219c8d38762ec156b27bdd03c8ee7563b8a7ef57 (diff)
downloadbcm5719-llvm-ffb0864b44c49fa4ade8e666c64da65d9a49c8c8.tar.gz
bcm5719-llvm-ffb0864b44c49fa4ade8e666c64da65d9a49c8c8.zip
Revert r233175 and r233183 with it. This pulls float2int back out of the tree, due to PR23038.
llvm-svn: 233350
Diffstat (limited to 'llvm/lib/Transforms/IPO')
-rw-r--r--llvm/lib/Transforms/IPO/PassManagerBuilder.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
index 502451bf432..d28d5630fbd 100644
--- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
+++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
@@ -59,10 +59,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"));
@@ -311,9 +307,6 @@ void PassManagerBuilder::populateModulePassManager(
// we must insert a no-op module pass to reset the pass manager.
MPM.add(createBarrierNoopPass());
- if (RunFloat2Int)
- MPM.add(createFloat2IntPass());
-
// Re-rotate loops in all our loop nests. These may have fallout out of
// rotated form due to GVN or other transformations, and the vectorizer relies
// on the rotated form.
OpenPOWER on IntegriCloud