-
Notifications
You must be signed in to change notification settings - Fork 698
Shared heap enhancement for AOT and update tests and samples #4226
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
Shared heap enhancement for AOT and update tests and samples #4226
Conversation
The CI issue is due to the update of LLVM, which will be resolved after rebasing the dev branch |
LLVMBasicBlockRef check_succ, LLVMValueRef maddr_phi, | ||
LLVMValueRef start_offset, LLVMValueRef max_addr, | ||
LLVMValueRef mem_base_addr, LLVMValueRef bytes, uint32 bytes_u32, | ||
bool is_memory64, bool is_target_64bit, bool bulk_memory, bool enable_segue) |
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.
Might need comments to explain what each variable stands for.
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.
Will add more comments in the new refactored function
LLVMBasicBlockRef check_succ, LLVMValueRef maddr_phi, | ||
LLVMValueRef start_offset, LLVMValueRef max_addr, | ||
LLVMValueRef mem_base_addr, LLVMValueRef bytes, uint32 bytes_u32, | ||
bool is_memory64, bool is_target_64bit, bool bulk_memory, bool enable_segue) |
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.
maynot a good idea to cover two types of memory overflow check.
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.
I will break the common code to separate functions and create two functions for bulk memory and memory check, respectively
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.
need to fix CI errors.
"""
LLVM ERROR: Instruction Combining did not reach a fixpoint after 1 iterations
"""
The CI issue is due to the update of LLVM, which will be resolved after rebasing the dev branch |
…rflow to accomodate shared heap chain
…chain iteration problem
…hared heap unit test
…and update shared heap unit tests and sample
…arate function for bulk memory and normal memroy 3. static assert 4. add more comments 5. remove unused code
b57e280
to
8f49f86
Compare
ccdc836
into
bytecodealliance:dev/shared_heap
For AOT:
For shared heap tests and samples: