• Lei Wang's avatar
    [Enhancement] Add legality checks for shared memory and global range in LowerBulkCopy (#592) · 78651bae
    Lei Wang authored
    * [Enhancement] Improve memory access condition checks in GlobalMemChecker
    
    - Updated the condition checks in the GlobalMemChecker to utilize symbolic bounds in the CanProve method, enhancing the accuracy of memory access validations.
    - This change ensures that both upper and lower bound conditions are evaluated with improved proof strength, contributing to more robust memory access analysis.
    
    * lintfix
    
    * [Enhancement] Add legality checks for shared memory and global range in LowerBulkCopy
    
    - Implemented checks to ensure that the shared memory range and global range are legal during the bulk copy operation.
    - Added assertions to validate that the extents of global and shared ranges match, improving the robustness of memory access validation in the LowerBulkCopy function.
    78651bae
bulk_copy.cc 16.1 KB