[HWASAN] Inline fast pass of instrumentMemAccessOutline
Usually pointer tag will match tag in the shadow, so we can keep inlining this check keeping the rest in outlined part. It imroves performance by about 25%, but increases code size by 30%. Existing outlining reduces performance by 30%, but saves code size by 80%. So we still significantly reduce code size with minimal performance loss. Reviewed By: fmayer Differential Revision: https://reviews.llvm.org/D159172
Loading
Please sign in to comment