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

fix: dereferenceable attribute on builtins #25

Merged
merged 1 commit into from
May 30, 2024

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented May 30, 2024

dereferenceable(<n>) was passed to builtin params with n_inputs * 32, so something like SELFBALANCE that has more outputs that inputs (1 > 0) would have ptr dereferenceable(0).
This basically means that we were telling LLVM that the pointer is never used :(

@DaniPopes DaniPopes force-pushed the dani/fix-dereferenceable branch 2 times, most recently from 5b76f34 to 6f68e06 Compare May 30, 2024 20:35
@DaniPopes DaniPopes force-pushed the dani/fix-dereferenceable branch from 6f68e06 to 50ed740 Compare May 30, 2024 20:41
@DaniPopes DaniPopes merged commit adc917c into main May 30, 2024
13 checks passed
@DaniPopes DaniPopes deleted the dani/fix-dereferenceable branch May 30, 2024 20:52
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.

1 participant