Skip to content

Commit

Permalink
add a test for something that used to break the optimizer (#33566)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored and StefanKarpinski committed Oct 15, 2019
1 parent 522a336 commit 3a20608
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/compiler/codegen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -397,3 +397,13 @@ let io = IOBuffer()
code_llvm(io, Base.vect, Tuple{Vararg{Union{Float64, Int64}}})
@test !occursin("__apply", String(take!(io)))
end

function f1_30093(r)
while r[]>0
try
finally
end
end
end

@test f1_30093(Ref(0)) == nothing

2 comments on commit 3a20608

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily benchmark build, I will reply here when finished:

@nanosoldier runbenchmarks(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @ararslan

Please sign in to comment.