Initial implementation #1
Annotations
6 errors and 4 warnings
Julia 1.6 - ubuntu-latest - x64 - push
Process completed with exit code 1.
|
Julia 1.10 - ubuntu-latest - x64 - push
Process completed with exit code 1.
|
Julia nightly - ubuntu-latest - x64 - push
Process completed with exit code 1.
|
Documentation:
docs/src/index.md#L21
doctest failure in src/index.md:21-46
```jldoctest; setup=:(using CodeDiffs)
julia> f1(a) = a + 1
f1 (generic function with 1 method)
julia> @code_diff type=:llvm debuginfo=:none color=false f1(Int64(1)) f1(Int8(1))
; Function Attrs: uwtable ┃ ; Function Attrs: uwtable
define i64 @F1(i64 signext %0) #0 { ⟪╋⟫define i64 @F1(i8 signext %0) #0 {
top: ┃ top:
%1 = add i64 %0, 1 ⟪╋⟫ %2 = add nsw i64 %1, 1
ret i64 %1 ⟪╋⟫ ret i64 %2
┣⟫ %1 = sext i8 %0 to i64
} ┃ }
┃
julia> f2(a) = a - 1
f2 (generic function with 1 method)
julia> @code_diff type=:llvm debuginfo=:none color=false f1(1) f2(1)
; Function Attrs: uwtable ┃ ; Function Attrs: uwtable
define i64 @F1(i64 signext %0) #0 { ⟪╋⟫define i64 @F2(i64 signext %0) #0 {
top: ┃ top:
%1 = add i64 %0, 1 ⟪╋⟫ %1 = add i64 %0, -1
ret i64 %1 ┃ ret i64 %1
} ┃ }
┃
```
Subexpression:
@code_diff type=:llvm debuginfo=:none color=false f1(Int64(1)) f1(Int8(1))
Evaluated output:
define i64 @F1(i64 signext %0) #0 { ⟪╋⟫define i64 @F1(i8 signext %0) #0 {
top: ┃ top:
%1 = add i64 %0, 1 ⟪╋⟫ %2 = add nsw i64 %1, 1
ret i64 %1 ⟪╋⟫ ret i64 %2
┣⟫ %1 = sext i8 %0 to i64
} ┃ }
┃
Expected output:
; Function Attrs: uwtable ┃ ; Function Attrs: uwtable
define i64 @F1(i64 signext %0) #0 { ⟪╋⟫define i64 @F1(i8 signext %0) #0 {
top: ┃ top:
%1 = add i64 %0, 1 ⟪╋⟫ %2 = add nsw i64 %1, 1
ret i64 %1 ⟪╋⟫ ret i64 %2
┣⟫ %1 = sext i8 %0 to i64
} ┃ }
┃
diff =
Warning: Diff output requires color.
; Function Attrs: uwtable ┃ ; Function Attrs: uwtable
define i64 @F1(i64 signext %0) #0 { ⟪╋⟫define i64 @F1(i8 signext %0) #0 {
top: ┃ top:
%1 = add i64 %0, 1 ⟪╋⟫ %2 = add nsw i64 %1, 1
ret i64 %1 ⟪╋⟫ ret i64 %2
┣⟫ %1 = sext i8 %0 to i64
} ┃ }
┃
|
Documentation:
docs/src/index.md#L21
doctest failure in src/index.md:21-46
```jldoctest; setup=:(using CodeDiffs)
julia> f1(a) = a + 1
f1 (generic function with 1 method)
julia> @code_diff type=:llvm debuginfo=:none color=false f1(Int64(1)) f1(Int8(1))
; Function Attrs: uwtable ┃ ; Function Attrs: uwtable
define i64 @F1(i64 signext %0) #0 { ⟪╋⟫define i64 @F1(i8 signext %0) #0 {
top: ┃ top:
%1 = add i64 %0, 1 ⟪╋⟫ %2 = add nsw i64 %1, 1
ret i64 %1 ⟪╋⟫ ret i64 %2
┣⟫ %1 = sext i8 %0 to i64
} ┃ }
┃
julia> f2(a) = a - 1
f2 (generic function with 1 method)
julia> @code_diff type=:llvm debuginfo=:none color=false f1(1) f2(1)
; Function Attrs: uwtable ┃ ; Function Attrs: uwtable
define i64 @F1(i64 signext %0) #0 { ⟪╋⟫define i64 @F2(i64 signext %0) #0 {
top: ┃ top:
%1 = add i64 %0, 1 ⟪╋⟫ %1 = add i64 %0, -1
ret i64 %1 ┃ ret i64 %1
} ┃ }
┃
```
Subexpression:
@code_diff type=:llvm debuginfo=:none color=false f1(1) f2(1)
Evaluated output:
define i64 @F1(i64 signext %0) #0 { ⟪╋⟫define i64 @F2(i64 signext %0) #0 {
top: ┃ top:
%1 = add i64 %0, 1 ⟪╋⟫ %1 = add i64 %0, -1
ret i64 %1 ┃ ret i64 %1
} ┃ }
┃
Expected output:
; Function Attrs: uwtable ┃ ; Function Attrs: uwtable
define i64 @F1(i64 signext %0) #0 { ⟪╋⟫define i64 @F2(i64 signext %0) #0 {
top: ┃ top:
%1 = add i64 %0, 1 ⟪╋⟫ %1 = add i64 %0, -1
ret i64 %1 ┃ ret i64 %1
} ┃ }
┃
diff =
Warning: Diff output requires color.
; Function Attrs: uwtable ┃ ; Function Attrs: uwtable
define i64 @F1(i64 signext %0) #0 { ⟪╋⟫define i64 @F2(i64 signext %0) #0 {
top: ┃ top:
%1 = add i64 %0, 1 ⟪╋⟫ %1 = add i64 %0, -1
ret i64 %1 ┃ ret i64 %1
} ┃ }
┃
|
Documentation
Process completed with exit code 1.
|
Julia 1.6 - ubuntu-latest - x64 - push
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Julia 1.10 - ubuntu-latest - x64 - push
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Julia nightly - ubuntu-latest - x64 - push
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Documentation
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|