-
公开(公告)号:US11435987B2
公开(公告)日:2022-09-06
申请号:US16774756
申请日:2020-01-28
Applicant: ADVANCED MICRO DEVICES, INC.
Inventor: Ganesh Gopalasubramanian , Ashutosh Nema , Venugopal Raghavan
IPC: G06F8/41
Abstract: Optimizing runtime alias checks includes identifying, by a compiler, a base pointer and a plurality of different memory accesses based on the base pointer in a code loop; generating, by the compiler, a first portion of runtime code to determine a minimum access and a maximum access of the plurality of different memory accesses; and generating, by the compiler, a second portion of runtime code including one or more runtime alias checks for the minimum access and one or more runtime alias checks for the maximum access.