File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
llvm/lib/CodeGen/SelectionDAG Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -715,7 +715,8 @@ SDValue SelectionDAGBuilder::LowerAsSTATEPOINT(
715
715
assert ((GFI || SI.Bases .empty ()) &&
716
716
" No gc specified, so cannot relocate pointers!" );
717
717
718
- LLVM_DEBUG (dbgs () << " Lowering statepoint " << *SI.StatepointInstr << " \n " );
718
+ LLVM_DEBUG (if (SI.StatepointInstr ) dbgs ()
719
+ << " Lowering statepoint " << *SI.StatepointInstr << " \n " );
719
720
#ifndef NDEBUG
720
721
for (const auto *Reloc : SI.GCRelocates )
721
722
if (Reloc->getParent () == SI.StatepointInstr ->getParent ())
@@ -1156,6 +1157,7 @@ void SelectionDAGBuilder::LowerCallSiteWithDeoptBundleImpl(
1156
1157
1157
1158
// NB! The GC arguments are deliberately left empty.
1158
1159
1160
+ LLVM_DEBUG (dbgs () << " Lowering call with deopt bundle " << *Call << " \n " );
1159
1161
if (SDValue ReturnVal = LowerAsSTATEPOINT (SI)) {
1160
1162
ReturnVal = lowerRangeToAssertZExt (DAG, *Call, ReturnVal);
1161
1163
setValue (Call, ReturnVal);
You can’t perform that action at this time.
0 commit comments