diff options
author | Devang Patel <dpatel@apple.com> | 2009-04-07 22:27:56 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-04-07 22:27:56 +0000 |
commit | caf6129aba729cc6b085e3271c94af6fb33baf4d (patch) | |
tree | b7507bc6a80d3f87c6717eb0b045b35b7b4f3c22 /lib/CodeGen/SelectionDAG | |
parent | 2a6411bbbdc6a23605fa206e07fc4f99a3d5dff2 (diff) | |
download | external_llvm-caf6129aba729cc6b085e3271c94af6fb33baf4d.zip external_llvm-caf6129aba729cc6b085e3271c94af6fb33baf4d.tar.gz external_llvm-caf6129aba729cc6b085e3271c94af6fb33baf4d.tar.bz2 |
Right now DBG_LABEL are required for llvm.dbg.region_start and llvm.dbg.region_end in non-fast mode also.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68559 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index ba59906..50699db 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp @@ -3926,9 +3926,8 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) { if (DW && DW->ValidDebugInfo(RSI.getContext())) { unsigned LabelID = DW->RecordRegionStart(cast<GlobalVariable>(RSI.getContext())); - if (Fast) - DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(), - getRoot(), LabelID)); + DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(), + getRoot(), LabelID)); } return 0; @@ -3939,9 +3938,8 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) { if (DW && DW->ValidDebugInfo(REI.getContext())) { unsigned LabelID = DW->RecordRegionEnd(cast<GlobalVariable>(REI.getContext())); - if (Fast) - DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(), - getRoot(), LabelID)); + DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(), + getRoot(), LabelID)); } return 0; |