brintos

brintos / llvm-project-archived public Read only

0
0
Text · 842 B · 751677f Raw
24 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py2; RUN: opt < %s -disable-output "-passes=print<scalar-evolution>" 2>&1 | FileCheck %s3 4define void @test() {5; CHECK-LABEL: 'test'6; CHECK-NEXT:  Classifying expressions for: @test7; CHECK-NEXT:    %tmp = phi i32 [ 2, %bb ], [ %tmp2, %bb3 ]8; CHECK-NEXT:    --> %tmp U: [1,-2147483648) S: [0,-2147483648)9; CHECK-NEXT:    %tmp2 = add nuw nsw i32 %tmp, 110; CHECK-NEXT:    --> (1 + %tmp)<nuw> U: [1,-2147483647) S: [1,-2147483647)11; CHECK-NEXT:  Determining loop execution counts for: @test12;13bb:14  br label %bb115 16bb1:                                              ; preds = %bb3, %bb17  %tmp = phi i32 [ 2, %bb ], [ %tmp2, %bb3 ]18  %tmp2 = add nuw nsw i32 %tmp, 119  ret void20 21bb3:                                              ; No predecessors!22  br label %bb123}24