Skip to content

Conversation

folkertdev
Copy link
Contributor

@folkertdev folkertdev commented Jun 26, 2025

turns out LLVM does not have your back and will just let you emit an invalid add instruction with 3 operands.

cc #1651 (comment)

Rendered

@senekor senekor merged commit 2274074 into rust-lang:master Jun 26, 2025
5 checks passed
@cuviper
Copy link
Member

cuviper commented Jun 26, 2025

For good measure, here it is verified, and you can "show asm" too:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=9c1fd92c8ecdadeb102fc0487e441dff

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