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

Enhance cir.atomic.cmp_xchg and cir.atomic.xchg verifiers #1378

Open
bcardosolopes opened this issue Feb 20, 2025 · 3 comments
Open

Enhance cir.atomic.cmp_xchg and cir.atomic.xchg verifiers #1378

bcardosolopes opened this issue Feb 20, 2025 · 3 comments
Labels
good first issue Good for newcomers

Comments

@bcardosolopes
Copy link
Member

This is comparing contents of the object pointed to by a !cir.ptr<!ty_S> pointer to a !u64i value

Originally posted by @bcardosolopes in #1373 (comment)

@Icaro-Nunes
Copy link

Hello, I'm new here and would like to contribute! Can you provide more information on this issue? I have read the mentioned PR and previous issue but could not understand completely what enhancements should be made.

@bcardosolopes
Copy link
Member Author

Hi @Icaro-Nunes, the pointee should match the value to compare, should be implemented in the ::verify method for both operations

@Icaro-Nunes
Copy link

Ok, I'm looking at it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants