Skip to content

Commit 64b8527

Browse files
author
git apple-llvm automerger
committed
Merge commit '8226fbee4b62' from llvm.org/main into next
2 parents a3374f5 + 8226fbe commit 64b8527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/TargetLoweringObjectFile.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ void TargetLoweringObjectFile::emitPseudoProbeDescMetadata(MCStreamer &Streamer,
206206
auto &C = getContext();
207207
for (const auto *Operand : FuncInfo->operands()) {
208208
const auto *MD = cast<MDNode>(Operand);
209-
auto *GUID = mdconst::dyn_extract<ConstantInt>(MD->getOperand(0));
210-
auto *Hash = mdconst::dyn_extract<ConstantInt>(MD->getOperand(1));
209+
auto *GUID = mdconst::extract<ConstantInt>(MD->getOperand(0));
210+
auto *Hash = mdconst::extract<ConstantInt>(MD->getOperand(1));
211211
auto *Name = cast<MDString>(MD->getOperand(2));
212212
auto *S = C.getObjectFileInfo()->getPseudoProbeDescSection(
213213
TM->getFunctionSections() ? Name->getString() : StringRef());

0 commit comments

Comments
 (0)