[PATCH] Assign a low branch weight to ASan's slow path.

Jonas Wagner jonas.wagner at epfl.ch
Fri Aug 29 01:24:33 PDT 2014


This patch causes AddressSantitizer to emit branch weights for the branches
leading to its slow path. Experiments on SPEC show speedups of 3-5% on average.
The corresponding discussion on the address-sanitizer mailing list is at
https://groups.google.com/forum/#!topic/address-sanitizer/feaKX15urgQ .

Sorry for the first, badly formatted patch. This one uses git-send-email and
hopefully gets it right.

- Jonas



More information about the llvm-commits mailing list