Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport PR6409 and PR6405 for v13.0.1 #6418

Merged
merged 4 commits into from
Nov 15, 2021
Merged

Conversation

derek-gerstmann
Copy link
Contributor

Added fixes for 6405 and 6409 to cut a v13.0.1 release.

Fix obscure bug in widening let substitution #6405
x86_cpuid_halide must preserve all 64 bits of rbx/rsi #6409

I've left the README.md alone since it seems like v13 wasn't advertised yet, so it still mentions v12.0.0 as the latest release (since that's what is in master right now).

Please look things over and let me know if I've missed anything!

abadams and others added 3 commits November 12, 2021 14:10
Fix obscure bug in widening let substitution

(cherry picked from commit d343e76)
The existing code attempts to preserve ebx (since the cpuid instruction can trash it), but it only preserves the lower 32 bits; on 64-bit systems, this (amazingly) usually works OK unless you are compiling in (e.g.) ASAN mode, which can subtly change codegen such that the full 32 bits of rbx must be preserved.

I'm genuinely astonished this hasn't bitten us before now!

(cherry picked from commit 02a394d)
@derek-gerstmann
Copy link
Contributor Author

Okay to rebase and merge?

@steven-johnson
Copy link
Contributor

Okay to rebase and merge?

LGTM

@derek-gerstmann derek-gerstmann merged commit fb39d7e into release/13.x Nov 15, 2021
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.

3 participants