[llvm-commits] [llvm] r65068 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
Bill Wendling
isanbard at gmail.com
Thu Feb 19 13:57:09 PST 2009
Author: void
Date: Thu Feb 19 15:57:07 2009
New Revision: 65068
URL: http://llvm.org/viewvc/llvm-project?rev=65068&view=rev
Log:
Temporarily revert r65065. It was causing test failures.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp?rev=65068&r1=65067&r2=65068&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp Thu Feb 19 15:57:07 2009
@@ -3953,7 +3953,9 @@
// create a label if this is a beginning of inlined function.
unsigned Line = Subprogram.getLineNumber();
- if (Fast) {
+ // FIXME: Support more than just -Os.
+ const Function *F = I.getParent()->getParent();
+ if (!F->hasFnAttr(Attribute::OptimizeForSize)) {
unsigned LabelID = DW->RecordSourceLine(Line, 0, SrcFile);
if (DW->getRecordSourceLineCount() != 1)
DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(),
More information about the llvm-commits
mailing list