Skip to content

Commit 3d42bed

Browse files
pedroclobofrederik-h
authored andcommitted
[AMDGPU] Change placeholder from undef to poison (llvm#130858)
Replace `undef` debug info with `poison`.
1 parent c9ac0c7 commit 3d42bed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1620,7 +1620,7 @@ void SplitPtrStructs::killAndReplaceSplitInstructions(
16201620
Dbg->setExpression(*RsrcExpr);
16211621
Dbg->replaceVariableLocationOp(I, Rsrc);
16221622
} else {
1623-
Dbg->replaceVariableLocationOp(I, UndefValue::get(I->getType()));
1623+
Dbg->replaceVariableLocationOp(I, PoisonValue::get(I->getType()));
16241624
}
16251625
}
16261626

0 commit comments

Comments
 (0)