Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Return error instead of asserting in bufferization copy callback.#8528

Merged
MaheshRavishankar merged 1 commit into
iree-org:mainfrom
MaheshRavishankar:catch_copy_op_failure
Mar 21, 2022
Merged

Return error instead of asserting in bufferization copy callback.#8528
MaheshRavishankar merged 1 commit into
iree-org:mainfrom
MaheshRavishankar:catch_copy_op_failure

Conversation

@MaheshRavishankar
Copy link
Copy Markdown
Collaborator

Current callback just asserts that the copy callback can insert a
valid copy. Return a nullptr, and throw an error when copy cannot be
generated. Also update all call sites to handle the error.

Current callback just asserts that the copy callback can insert a
valid copy. Return a nullptr, and throw an error when copy cannot be
generated. Also update all call sites to handle the error.
@MaheshRavishankar MaheshRavishankar merged commit 47e45d3 into iree-org:main Mar 21, 2022
@MaheshRavishankar MaheshRavishankar deleted the catch_copy_op_failure branch March 21, 2022 21:49
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.

2 participants