Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Features
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Word
Character
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
7 years ago
Diff never expires
Clear
Export
Share
Explain
1 removal
Lines
Total
Removed
Words
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
18 lines
Copy
3 additions
Lines
Total
Added
Words
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
19 lines
Copy
define i64 @"Program:Test (long,bool)"(i64 %arg_x, i32 %arg_condition) {
define i64 @"Program:Test (long,bool)"(i64 %arg_x, i32 %arg_condition) {
BB0:
BB0:
br label %BB4
br label %BB4
BB4: ; preds = %BB5, %BB0
BB4: ; preds = %BB5, %BB0
%0 = phi i32 [ 10, %BB0 ], [ %t37, %BB5 ]
%0 = phi i32 [ 10, %BB0 ], [ %t37, %BB5 ]
%1 = phi i64 [ %arg_x, %BB0 ], [ %spec.select, %BB5 ]
%1 = phi i64 [ %arg_x, %BB0 ], [ %spec.select, %BB5 ]
%2 = icmp ult i32 %0, 100000
%2 = icmp ult i32 %0, 100000
br i1 %2, label %BB5, label %BB1
br i1 %2, label %BB5, label %BB1
BB5: ; preds = %BB4
BB5: ; preds = %BB4
%3 = icmp ne i32 %arg_condition, 0
%3 = icmp ne i32 %arg_condition, 0
%t35 = zext i1 %3 to i64
%t35 = zext i1 %3 to i64
%spec.select = add i64 %1, %t35
%spec.select = add i64 %1, %t35
%t37 = add nuw nsw i32 %0, 2
%t37 = add nuw nsw i32 %0, 2
br label %BB4
br label %BB4
BB1: ; preds = %BB4
BB1: ; preds = %BB4
Copy
Copied
Copy
Copied
ret i64
%1
%.lcssa = phi i64 [ %1, %BB4 ]
ret i64
%.lcssa
}
}
Saved diffs
Original text
Open file
define i64 @"Program:Test (long,bool)"(i64 %arg_x, i32 %arg_condition) { BB0: br label %BB4 BB4: ; preds = %BB5, %BB0 %0 = phi i32 [ 10, %BB0 ], [ %t37, %BB5 ] %1 = phi i64 [ %arg_x, %BB0 ], [ %spec.select, %BB5 ] %2 = icmp ult i32 %0, 100000 br i1 %2, label %BB5, label %BB1 BB5: ; preds = %BB4 %3 = icmp ne i32 %arg_condition, 0 %t35 = zext i1 %3 to i64 %spec.select = add i64 %1, %t35 %t37 = add nuw nsw i32 %0, 2 br label %BB4 BB1: ; preds = %BB4 ret i64 %1 }
Changed text
Open file
define i64 @"Program:Test (long,bool)"(i64 %arg_x, i32 %arg_condition) { BB0: br label %BB4 BB4: ; preds = %BB5, %BB0 %0 = phi i32 [ 10, %BB0 ], [ %t37, %BB5 ] %1 = phi i64 [ %arg_x, %BB0 ], [ %spec.select, %BB5 ] %2 = icmp ult i32 %0, 100000 br i1 %2, label %BB5, label %BB1 BB5: ; preds = %BB4 %3 = icmp ne i32 %arg_condition, 0 %t35 = zext i1 %3 to i64 %spec.select = add i64 %1, %t35 %t37 = add nuw nsw i32 %0, 2 br label %BB4 BB1: ; preds = %BB4 %.lcssa = phi i64 [ %1, %BB4 ] ret i64 %.lcssa }
Find difference