mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-27 09:17:11 +00:00
Temporarily revert r65065. It was causing test failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65068 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3953,7 +3953,9 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
|
|||||||
// create a label if this is a beginning of inlined function.
|
// create a label if this is a beginning of inlined function.
|
||||||
unsigned Line = Subprogram.getLineNumber();
|
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);
|
unsigned LabelID = DW->RecordSourceLine(Line, 0, SrcFile);
|
||||||
if (DW->getRecordSourceLineCount() != 1)
|
if (DW->getRecordSourceLineCount() != 1)
|
||||||
DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(),
|
DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(),
|
||||||
|
|||||||
Reference in New Issue
Block a user