[cfe-commits] r59223 - /cfe/trunk/Driver/Backend.cpp
Daniel Dunbar
daniel at zuster.org
Wed Nov 12 21:29:02 PST 2008
Author: ddunbar
Date: Wed Nov 12 23:29:02 2008
New Revision: 59223
URL: http://llvm.org/viewvc/llvm-project?rev=59223&view=rev
Log:
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.
Modified:
cfe/trunk/Driver/Backend.cpp
Modified: cfe/trunk/Driver/Backend.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/Backend.cpp?rev=59223&r1=59222&r2=59223&view=diff
==============================================================================
--- cfe/trunk/Driver/Backend.cpp (original)
+++ cfe/trunk/Driver/Backend.cpp Wed Nov 12 23:29:02 2008
@@ -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 @@
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());
}
}
More information about the cfe-commits
mailing list