mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-23 04:16:42 +00:00
Check for -fast here too.
llvm-svn: 65065
This commit is contained in:
parent
4a86875529
commit
9af8f830c0
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user