Skip to content

Only compile Fallback level on targets without a better baseline - #320

Open
Shnatsel wants to merge 4 commits into
linebender:mainfrom
Shnatsel:do-not-compile-fallback
Open

Only compile Fallback level on targets without a better baseline#320
Shnatsel wants to merge 4 commits into
linebender:mainfrom
Shnatsel:do-not-compile-fallback

Conversation

@Shnatsel

@Shnatsel Shnatsel commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

It emitted no LLVM IR, but it was still being type- and borrow-checked despite never being called.

When applied on top of #318 reduces x86 clean build time by 0.2s (from 2.15s to 1.95s) and Aarch64 build time by 0.3s (from 1.25s to 0.95s).

Fixes #316

There are two instances of this cfg, which is as low as I could get it. Could be brought down to one with a build script but that would negate the build time gains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fallback level is compiled on platforms where it's not needed

1 participant