Untitled diff

Created Diff never expires
6 removals
Lines
Total
Removed
Words
Total
Removed
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
18 lines
5 additions
Lines
Total
Added
Words
Total
Added
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
17 lines
; Preheader:
; Preheader:
BB0:
BB0:
%0 = icmp ne i32 %arg_condition, 0
%0 = icmp ne i32 %arg_condition, 0
%t35 = zext i1 %0 to i64
%t35 = zext i1 %0 to i64
%1 = mul nuw nsw i64 %t35, 49995
br label %BB5
br label %BB5
; Loop:
; Loop:
BB5: ; preds = %BB0, %BB5
BB5: ; preds = %BB0, %BB5
%1 = phi i64 [ %arg_x, %BB0 ], [ %spec.select, %BB5 ]
%2 = phi i32 [ 10, %BB0 ], [ %t37, %BB5 ]
%2 = phi i32 [ 10, %BB0 ], [ %t37, %BB5 ]
%spec.select = add i64 %1, %t35
%t37 = add nuw nsw i32 %2, 2
%t37 = add nuw nsw i32 %2, 2
%3 = icmp ult i32 %t37, 100000
%3 = icmp ult i32 %t37, 100000
br i1 %3, label %BB5, label %BB1
br i1 %3, label %BB5, label %BB1
; Exit blocks
; Exit blocks
BB1: ; preds = %BB5
BB1: ; preds = %BB5
%spec.select.lcssa = phi i64 [ %spec.select, %BB5 ]
%4 = add i64 %arg_x, %1
ret i64 %spec.select.lcssa
ret i64 %4