[llvm] 210f40f - Test had incorrect check for nonzero count

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 12:37:46 PDT 2020


Author: Paul Robinson
Date: 2020-04-03T12:37:13-07:00
New Revision: 210f40fe9a30212396311d265904b2d73859c53d

URL: https://github.com/llvm/llvm-project/commit/210f40fe9a30212396311d265904b2d73859c53d
DIFF: https://github.com/llvm/llvm-project/commit/210f40fe9a30212396311d265904b2d73859c53d.diff

LOG: Test had incorrect check for nonzero count

Added: 
    

Modified: 
    llvm/test/Other/opt-bisect-legacy-pass-manager.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Other/opt-bisect-legacy-pass-manager.ll b/llvm/test/Other/opt-bisect-legacy-pass-manager.ll
index bf89e80d4960..d73ca80674da 100644
--- a/llvm/test/Other/opt-bisect-legacy-pass-manager.ll
+++ b/llvm/test/Other/opt-bisect-legacy-pass-manager.ll
@@ -45,8 +45,7 @@
 ; 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-NOT: Last good count: 0
-; CHECK-BISECT-INLINE-RESULT: Last good count: {{[0-9]+}}
+; CHECK-BISECT-INLINE-RESULT: Last good count: {{[1-9][0-9]*}}
 
 
 ; Test a module pass.


        


More information about the llvm-commits mailing list