Skip to content

Commit f0655bd

Browse files
authored
Verify IR after our own validation. (#514)
1 parent c916b4e commit f0655bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/driver.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,6 @@ const __llvm_initialized = Ref(false)
433433
empty!(f)
434434
end
435435
end
436-
437-
if should_verify()
438-
@timeit_debug to "verification" verify(ir)
439-
end
440436
end
441437

442438
if validate
@@ -445,6 +441,10 @@ const __llvm_initialized = Ref(false)
445441
end
446442
end
447443

444+
if should_verify()
445+
@timeit_debug to "verification" verify(ir)
446+
end
447+
448448
return ir, (; entry, compiled)
449449
end
450450

0 commit comments

Comments
 (0)