Skip to content

[stdlib] Add compile time branch for llvm expect intrinsic #4289

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

Closed
wants to merge 1 commit into from

Conversation

martinvuyk
Copy link
Contributor

Add compile time branch for llvm expect intrinsic. This is needed to run optimized code at compile time.

@martinvuyk martinvuyk requested a review from a team as a code owner April 5, 2025 20:35
@soraros
Copy link
Contributor

soraros commented Apr 5, 2025

Ohhhh, #3662 can be fixed this way I think.

@soraros

This comment was marked as resolved.

@martinvuyk
Copy link
Contributor Author

lol, I thought it was already imported

@martinvuyk martinvuyk force-pushed the add-comptime-expect branch 2 times, most recently from fdbc0f1 to a03206e Compare April 15, 2025 15:51
@martinvuyk martinvuyk force-pushed the add-comptime-expect branch from a03206e to e70b339 Compare May 9, 2025 18:10
@martinvuyk martinvuyk force-pushed the add-comptime-expect branch 2 times, most recently from ca2000e to d81e5d4 Compare May 19, 2025 22:51
@JoeLoser JoeLoser force-pushed the add-comptime-expect branch from d81e5d4 to d02e186 Compare May 20, 2025 13:13
@JoeLoser
Copy link
Collaborator

!sync

@modularbot modularbot added the imported-internally Signals that a given pull request has been imported internally. label May 20, 2025
@modularbot
Copy link
Collaborator

✅🟣 This contribution has been merged 🟣✅

Your pull request has been merged to the internal upstream Mojo sources. It will be reflected here in the Mojo repository on the main branch during the next Mojo nightly release, typically within the next 24-48 hours.

We use Copybara to merge external contributions, click here to learn more.

@modularbot modularbot added merged-internally Indicates that this pull request has been merged internally merged-externally Merged externally in public mojo repo labels May 20, 2025
@modularbot
Copy link
Collaborator

Landed in e5daa5d! Thank you for your contribution 🎉

@martinvuyk martinvuyk deleted the add-comptime-expect branch May 21, 2025 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imported-internally Signals that a given pull request has been imported internally. merged-externally Merged externally in public mojo repo merged-internally Indicates that this pull request has been merged internally
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants