[llvm] [SDAG] Use useDebugInstrRef instead of shouldUseDebugInstrRef (PR #160686)
Mikołaj Piróg via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 30 07:56:16 PDT 2025
https://github.com/mikolaj-pirog updated https://github.com/llvm/llvm-project/pull/160686
>From d73e3a7cb9528b0dc890dd7cfb7689f1a182e207 Mon Sep 17 00:00:00 2001
From: "Pirog, Mikolaj Maciej" <mikolaj.maciej.pirog at intel.com>
Date: Thu, 25 Sep 2025 13:09:34 +0200
Subject: [PATCH] Use useDebugInstrRef instead of shouldUseDebugInstrRef
---
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index e61558c59bf0d..214edfc7c07f3 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -566,7 +566,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
SwiftError->setFunction(mf);
const Function &Fn = mf.getFunction();
- bool InstrRef = mf.shouldUseDebugInstrRef();
+ bool InstrRef = mf.useDebugInstrRef();
FuncInfo->set(MF->getFunction(), *MF, CurDAG);
More information about the llvm-commits
mailing list