projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfdacee
)
Check for -fast here too.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 19 Feb 2009 21:23:54 +0000
(21:23 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 19 Feb 2009 21:23:54 +0000
(21:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65065
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
index 205b7b9dff1a60555d61339864a5dead7699f961..09e3bf6b3d29b50f47e3c16c7691d1b9e20c6579 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@
-3953,9
+3953,7
@@
SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
// create a label if this is a beginning of inlined function.
unsigned Line = Subprogram.getLineNumber();
- // FIXME: Support more than just -Os.
- const Function *F = I.getParent()->getParent();
- if (!F->hasFnAttr(Attribute::OptimizeForSize)) {
+ if (Fast) {
unsigned LabelID = DW->RecordSourceLine(Line, 0, SrcFile);
if (DW->getRecordSourceLineCount() != 1)
DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(),