[llvm] ec7436f - Autogenerate test/Analysis/ValueTracking/non-negative-phi-bits.ll test

Roman Lebedev via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 2 07:29:05 PST 2019


Author: Roman Lebedev
Date: 2019-12-02T18:28:41+03:00
New Revision: ec7436f299f8b2c2e9ad0e2ca66f3cdeb830cf2a

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

LOG: Autogenerate test/Analysis/ValueTracking/non-negative-phi-bits.ll test

Forgot to stage this change into 0f22e783a038b6983f0fe161eef6cf2add3a4156 commit.

Added: 
    

Modified: 
    llvm/test/Analysis/ValueTracking/non-negative-phi-bits.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Analysis/ValueTracking/non-negative-phi-bits.ll b/llvm/test/Analysis/ValueTracking/non-negative-phi-bits.ll
index 059bbaa3c4e7..3b1c43df5a70 100755
--- a/llvm/test/Analysis/ValueTracking/non-negative-phi-bits.ll
+++ b/llvm/test/Analysis/ValueTracking/non-negative-phi-bits.ll
@@ -8,7 +8,7 @@ define void @test() #0 {
 ; CHECK:       for.body:
 ; CHECK-NEXT:    [[INDVARS_IV:%.*]] = phi i64 [ 0, [[ENTRY:%.*]] ], [ [[INDVARS_IV_NEXT:%.*]], [[FOR_BODY]] ]
 ; CHECK-NEXT:    [[INDVARS_IV_NEXT]] = add nuw nsw i64 [[INDVARS_IV]], 1
-; CHECK-NEXT:    [[EXITCOND:%.*]] = icmp ult i64 [[INDVARS_IV_NEXT]], 40
+; CHECK-NEXT:    [[EXITCOND:%.*]] = icmp ult i64 [[INDVARS_IV]], 39
 ; CHECK-NEXT:    br i1 [[EXITCOND]], label [[FOR_END:%.*]], label [[FOR_BODY]]
 ; CHECK:       for.end:
 ; CHECK-NEXT:    ret void


        


More information about the llvm-commits mailing list