[llvm] [SDAG] Use useDebugInstrRef instead of shouldUseDebugInstrRef (PR #160686)

Evgenii Kudriashov via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 04:49:07 PDT 2025


e-kud wrote:

I think it is worth mentioning that the main problem happens while using opt-bisect. When the optimization level changes.
My concern here is whether we need `shouldUseDebugInstrRef` at all? Or maybe we need to check whether we are bisecting in `shouldUseDebugInstrRef` and return a consistent result for it?

https://github.com/llvm/llvm-project/pull/160686


More information about the llvm-commits mailing list