FluxML / IRTools.jl

Mike's Little Intermediate Representation
MIT License
111 stars 36 forks source link

Compile-time hacks #53

Closed MikeInnes closed 6 months ago

MikeInnes commented 4 years ago

Avoid over-specialising IRTools code. Should result in lower compile times for dependencies.

IRCode(::TypedMeta) is removed since just_construct_ssa was removed from Base, and we don't use this method anyway.

KristofferC commented 4 years ago

@DhairyaLGandhi this is probably still useful?

DhairyaLGandhi commented 4 years ago

I'm hoping this should have an an impact on our compatibility with Julia master. I will run tests against this on some of the downstream packages, but it looks fairly straightforward so should be fine

KristofferC commented 4 years ago

I mostly meant the Base.Experimental.@optlevel 0 part for perhaps lower compilation times.

DhairyaLGandhi commented 4 years ago

Ah, gotcha. I think we've removed just_construct_ssa for the most part

CarloLucibello commented 6 months ago

closing as stale