summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-11-13 05:29:02 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-11-13 05:29:02 +0000
commit4b27eb4d26b50b03a10b50132a0b84175a9c1134 (patch)
tree7a79770b096bbcc19204a76c4c770917245325af
parent75db6d75297a136698a8e8633b37dce3d4cb7540 (diff)
downloadbcm5719-llvm-4b27eb4d26b50b03a10b50132a0b84175a9c1134.tar.gz
bcm5719-llvm-4b27eb4d26b50b03a10b50132a0b84175a9c1134.zip
Obey the FIXMES!
- Resume running the always inliner pass always now that LLVM has been improved and functions with debug info can be inlined. - Remove unused header. llvm-svn: 59223
-rw-r--r--clang/Driver/Backend.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/clang/Driver/Backend.cpp b/clang/Driver/Backend.cpp
index aad2d047144..51613994ca9 100644
--- a/clang/Driver/Backend.cpp
+++ b/clang/Driver/Backend.cpp
@@ -35,7 +35,6 @@
#include "llvm/Target/TargetMachineRegistry.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/IPO.h"
-#include <fstream> // FIXME: Remove
using namespace clang;
using namespace llvm;
@@ -308,10 +307,7 @@ void BackendConsumer::CreatePasses() {
if (CompileOpts.OptimizationLevel > 1 && CompileOpts.UnitAtATime)
PM->add(createConstantMergePass()); // Merge dup global constants
} else {
- // FIXME: Remove this once LLVM doesn't break when inlining
- // functions with debug info.
- if (!GenerateDebugInfo)
- PM->add(createAlwaysInlinerPass());
+ PM->add(createAlwaysInlinerPass());
}
}
OpenPOWER on IntegriCloud