-
Couldn't load subscription status.
- Fork 727
Implement atomic and memset/memmove/memcpy intrinsic for riscv #841
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
5d89235 to
a6f3c68
Compare
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Signed-off-by: Huang Qi <no1wudi@qq.com>
| void | ||
| aot_add_expand_memory_op_pass(LLVMPassManagerRef pass) | ||
| { | ||
| unwrap(pass)->add(new ExpandMemoryOpPass()); |
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.
Should check return value of new ExpandMemoryOpPass(), and change return value of aot_add_expand_memory_op_pass from void to bool?
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.
If new operation failed, wamrc will crash and report an exception to notify user.
I think it's enough for debug purpose.
| return false; | ||
| } | ||
|
|
||
| aot_add_expand_memory_op_pass(common_pass_mgr); |
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.
Should check return value
…odealliance#841) - Lower aotmic instruction to non-atomic form on some platforms - Lower memset/memmove/memcpy for XIP - Disable rtti in cmake
Uh oh!
There was an error while loading. Please reload this page.