diff --git a/llvm/test/Other/opt-bisect-legacy-pass-manager.ll b/llvm/test/Other/opt-bisect-legacy-pass-manager.ll index d73ca80674dae5..bf89e80d496044 100644 --- a/llvm/test/Other/opt-bisect-legacy-pass-manager.ll +++ b/llvm/test/Other/opt-bisect-legacy-pass-manager.ll @@ -45,7 +45,8 @@ ; The helper script uses this to find the optimization that inlines the call. ; CHECK-BISECT-INLINE-HELPER: call i32 @f2() ; These checks verifies that the optimization was found. -; CHECK-BISECT-INLINE-RESULT: Last good count: {{[1-9][0-9]*}} +; CHECK-BISECT-INLINE-RESULT-NOT: Last good count: 0 +; CHECK-BISECT-INLINE-RESULT: Last good count: {{[0-9]+}} ; Test a module pass.