diff options
Diffstat (limited to 'llvm/test/Analysis/ScalarEvolution/trip-count6.ll')
-rw-r--r-- | llvm/test/Analysis/ScalarEvolution/trip-count6.ll | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/llvm/test/Analysis/ScalarEvolution/trip-count6.ll b/llvm/test/Analysis/ScalarEvolution/trip-count6.ll index 7980bbdcb12..103b097e09b 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count6.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count6.ll @@ -1,10 +1,17 @@ -; RUN: opt < %s -analyze -scalar-evolution | FileCheck %s +; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py +; RUN: opt < %s -analyze -scalar-evolution -scalar-evolution-classify-expressions=0 | FileCheck %s @mode_table = global [4 x i32] zeroinitializer ; <[4 x i32]*> [#uses=1] -; CHECK: max backedge-taken count is 1{{$}} - define i8 @f() { +; CHECK-LABEL: 'f' +; CHECK-NEXT: Determining loop execution counts for: @f +; CHECK-NEXT: Loop %bb: <multiple exits> Unpredictable backedge-taken count. +; CHECK-NEXT: exit count for bb: ***COULDNOTCOMPUTE*** +; CHECK-NEXT: exit count for bb2: 1 +; CHECK-NEXT: Loop %bb: max backedge-taken count is 1 +; CHECK-NEXT: Loop %bb: Unpredictable predicated backedge-taken count. +; entry: tail call i32 @fegetround( ) ; <i32>:0 [#uses=1] br label %bb @@ -29,10 +36,10 @@ bb4: ; preds = %bb2 br label %bb bb5: ; preds = %bb2 - tail call void @raise_exception( ) noreturn + tail call void @raise_exception( ) noreturn unreachable } declare i32 @fegetround() -declare void @raise_exception() noreturn +declare void @raise_exception() noreturn |