Skip to content

Commit

Permalink
Verify IR after our own validation. (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored Sep 13, 2023
1 parent c916b4e commit f0655bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/driver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -433,10 +433,6 @@ const __llvm_initialized = Ref(false)
empty!(f)
end
end

if should_verify()
@timeit_debug to "verification" verify(ir)
end
end

if validate
Expand All @@ -445,6 +441,10 @@ const __llvm_initialized = Ref(false)
end
end

if should_verify()
@timeit_debug to "verification" verify(ir)
end

return ir, (; entry, compiled)
end

Expand Down

0 comments on commit f0655bd

Please sign in to comment.