[llvm] [DebugInfo] Remove getPrevNonDebugInstruction (PR #148859)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 07:42:34 PDT 2025


================
@@ -2737,7 +2737,7 @@ TEST_P(OpenMPIRBuilderTestWithParams, DynamicWorkShareLoop) {
   EXPECT_EQ(OrigStride->getValue(), 1);
 
   CallInst *FiniCall = dyn_cast<CallInst>(
-      &*(LatchBlock->getTerminator()->getPrevNonDebugInstruction(true)));
+      &*(LatchBlock->getTerminator()->getPrevNonPseudoOpInstruction()));
----------------
nikic wrote:

This is a test case, it almost certainly does not need to skip pseudo probes.

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


More information about the llvm-commits mailing list