Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Display
Layout
Split
Unified
Real-time editor
Hide whitespace changes
Hide unchanged lines
Disable line wrap
Diff precision
Smart
Syntax
None
Change appearance
Process
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
0 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
43 lines
Copy
7 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
50 lines
Copy
*** Unoptimized LLVM IR for HelloWorld.Program:Test (int) ***
*** Unoptimized LLVM IR for HelloWorld.Program:Test (int) ***
Copy
Copied
Copy
Copied
; ModuleID = 'jit-module-Test'
source_filename = "jit-module-Test"
@llvm_throw_corlib_exception_trampoline = global void (i32)* inttoptr (i64 1097902336 to void (i32)*)
@llvm_throw_corlib_exception_trampoline.1 = global void (i32)* inttoptr (i64 1097902336 to void (i32)*)
; Function Attrs: noinline uwtable
; Function Attrs: noinline uwtable
define monocc i32 @"HelloWorld.Program:Test (int)"(i32 %arg_x) #0 {
define monocc i32 @"HelloWorld.Program:Test (int)"(i32 %arg_x) #0 {
BB0:
BB0:
br label %BB3
br label %BB3
BB3: ; preds = %BB0
BB3: ; preds = %BB0
br label %BB2
br label %BB2
BB2: ; preds = %BB3
BB2: ; preds = %BB3
br i1 false, label %EX_BB1, label %NOEX_BB2
br i1 false, label %EX_BB1, label %NOEX_BB2
EX_BB1: ; preds = %BB2
EX_BB1: ; preds = %BB2
%0 = load void (i32)*, void (i32)** @llvm_throw_corlib_exception_trampoline
%0 = load void (i32)*, void (i32)** @llvm_throw_corlib_exception_trampoline
br label %EX2_BB3
br label %EX2_BB3
NOEX_BB2: ; preds = %BB2
NOEX_BB2: ; preds = %BB2
%1 = icmp eq i32 %arg_x, -2147483648
%1 = icmp eq i32 %arg_x, -2147483648
%2 = and i1 false, %1
%2 = and i1 false, %1
%3 = icmp eq i1 %2, true
%3 = icmp eq i1 %2, true
br i1 %3, label %EX_BB5, label %NOEX_BB6
br i1 %3, label %EX_BB5, label %NOEX_BB6
EX2_BB3: ; preds = %EX_BB1
EX2_BB3: ; preds = %EX_BB1
call void %0(i32 124)
call void %0(i32 124)
unreachable
unreachable
EX_BB5: ; preds = %NOEX_BB2
EX_BB5: ; preds = %NOEX_BB2
%4 = load void (i32)*, void (i32)** @llvm_throw_corlib_exception_trampoline.1
%4 = load void (i32)*, void (i32)** @llvm_throw_corlib_exception_trampoline.1
br label %EX2_BB7
br label %EX2_BB7
NOEX_BB6: ; preds = %NOEX_BB2
NOEX_BB6: ; preds = %NOEX_BB2
%t21 = sdiv i32 %arg_x, 10
%t21 = sdiv i32 %arg_x, 10
br label %BB1
br label %BB1
EX2_BB7: ; preds = %EX_BB5
EX2_BB7: ; preds = %EX_BB5
call void %4(i32 211)
call void %4(i32 211)
unreachable
unreachable
BB1: ; preds = %NOEX_BB6
BB1: ; preds = %NOEX_BB6
ret i32 %t21
ret i32 %t21
}
}
Copy
Copied
Copy
Copied
attributes #0 = { noinline uwtable }
***
***
Saved diffs
Original text
Open file
*** Unoptimized LLVM IR for HelloWorld.Program:Test (int) *** ; Function Attrs: noinline uwtable define monocc i32 @"HelloWorld.Program:Test (int)"(i32 %arg_x) #0 { BB0: br label %BB3 BB3: ; preds = %BB0 br label %BB2 BB2: ; preds = %BB3 br i1 false, label %EX_BB1, label %NOEX_BB2 EX_BB1: ; preds = %BB2 %0 = load void (i32)*, void (i32)** @llvm_throw_corlib_exception_trampoline br label %EX2_BB3 NOEX_BB2: ; preds = %BB2 %1 = icmp eq i32 %arg_x, -2147483648 %2 = and i1 false, %1 %3 = icmp eq i1 %2, true br i1 %3, label %EX_BB5, label %NOEX_BB6 EX2_BB3: ; preds = %EX_BB1 call void %0(i32 124) unreachable EX_BB5: ; preds = %NOEX_BB2 %4 = load void (i32)*, void (i32)** @llvm_throw_corlib_exception_trampoline.1 br label %EX2_BB7 NOEX_BB6: ; preds = %NOEX_BB2 %t21 = sdiv i32 %arg_x, 10 br label %BB1 EX2_BB7: ; preds = %EX_BB5 call void %4(i32 211) unreachable BB1: ; preds = %NOEX_BB6 ret i32 %t21 } ***
Changed text
Open file
*** Unoptimized LLVM IR for HelloWorld.Program:Test (int) *** ; ModuleID = 'jit-module-Test' source_filename = "jit-module-Test" @llvm_throw_corlib_exception_trampoline = global void (i32)* inttoptr (i64 1097902336 to void (i32)*) @llvm_throw_corlib_exception_trampoline.1 = global void (i32)* inttoptr (i64 1097902336 to void (i32)*) ; Function Attrs: noinline uwtable define monocc i32 @"HelloWorld.Program:Test (int)"(i32 %arg_x) #0 { BB0: br label %BB3 BB3: ; preds = %BB0 br label %BB2 BB2: ; preds = %BB3 br i1 false, label %EX_BB1, label %NOEX_BB2 EX_BB1: ; preds = %BB2 %0 = load void (i32)*, void (i32)** @llvm_throw_corlib_exception_trampoline br label %EX2_BB3 NOEX_BB2: ; preds = %BB2 %1 = icmp eq i32 %arg_x, -2147483648 %2 = and i1 false, %1 %3 = icmp eq i1 %2, true br i1 %3, label %EX_BB5, label %NOEX_BB6 EX2_BB3: ; preds = %EX_BB1 call void %0(i32 124) unreachable EX_BB5: ; preds = %NOEX_BB2 %4 = load void (i32)*, void (i32)** @llvm_throw_corlib_exception_trampoline.1 br label %EX2_BB7 NOEX_BB6: ; preds = %NOEX_BB2 %t21 = sdiv i32 %arg_x, 10 br label %BB1 EX2_BB7: ; preds = %EX_BB5 call void %4(i32 211) unreachable BB1: ; preds = %NOEX_BB6 ret i32 %t21 } attributes #0 = { noinline uwtable } ***
Find difference