Skip to content

Removing a sketchy check that was preventing releases of ref ptrs. - #5258

Merged
benvanik merged 1 commit into
mainfrom
benvanik-fix-leak
Mar 30, 2021
Merged

benvanik merged 1 commit into
mainfrom
benvanik-fix-leak

Conversation

@benvanik

Copy link
Copy Markdown
Collaborator

When moving the target must be released regardless of whether the pointers
match in order to keep things balanced. This could happen in cases where
a register contained a ref ptr and a function call returned the same
pointer with the move bit set, leaking the release and failing to clobber.
Fixes #5141.

When moving the target must be released regardless of whether the pointers
match in order to keep things balanced. This could happen in cases where
a register contained a ref ptr and a function call returned the same
pointer with the move bit set, leaking the release and failing to clobber.
Fixes #5141.
@benvanik benvanik added bug 🐞 Something isn't working runtime/vm IREE bytecode VM interpreter labels Mar 30, 2021
@benvanik
benvanik requested a review from ScottTodd March 30, 2021 23:18
@google-cla google-cla Bot added the cla: yes label Mar 30, 2021
@ScottTodd

Copy link
Copy Markdown
Member

Test failure is just //iree/tools/test:multiple_exported_functions.mlir.test, which is probably since your branch is synced before the fix on main. Probably safe to ignore.

@benvanik

Copy link
Copy Markdown
Collaborator Author

ah yeah, am synced before

@benvanik
benvanik merged commit 1c59bd1 into main Mar 30, 2021
@benvanik
benvanik deleted the benvanik-fix-leak branch March 30, 2021 23:48
@KoolJBlack KoolJBlack mentioned this pull request Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🐞 Something isn't working runtime/vm IREE bytecode VM interpreter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vulkan validation errors after running model tests in OSS

2 participants