-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add codegen test for array comparision opt #82459
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
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Co-authored-by: LingMan <[email protected]>
@jonas-schievink this is ready for review |
I don't really know how this works. r? @nagisa |
#![crate_type = "lib"] | ||
|
||
// CHECK-LABEL: compare | ||
// CHECK: movb $1, %al |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably should CHECK-NEXT
here. There are a number of plausible ways to generate code for this that would result in these two instructions somewhere, but not necessarily in just these two instructions.
This is r=me once the comment above is addressed. |
Ping from triage: @tesuji can you post your status on this MR and address nagisa's feedback? Thank you. |
Alas the issue seems to have resurfaced. I rebased the test case and it failed. Closing this to get it out of my queue. |
Closes #62531
r? @jonas-schievink