Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compiler-rt: Optimize IsSameObject()
Now that we use multi-level shadow scheme, IsSameObject() doesn't need to call GetBlockBegin() which is dozens of times slower. Just check if the two metadata from the pointers are the same. This improves the slowdowns in SPEC CPU2017 502.gcc_r from 350x to 7x. Signed-off-by: Hyeonggon Yoo <[email protected]>
- Loading branch information