[llvm-commits] PATCH: Provide branch weight metadata for instrumentation branches in AddressSanitizer=

Chandler Carruth chandlerc at gmail.com
Mon Jul 16 02:10:19 PDT 2012


I have no idea if this heuristic is correct, but I suspect it's pretty
good...

It doesn't really matter what heuristic is used if we insert 'unreachable'
-- that should trump all else, but it seemed simpler to just always set a
flat heavy bias toward the "nothing wrong" direction. Looking at the asm
output, the metadata has the desired effect.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120716/57ead482/attachment.html>


More information about the llvm-commits mailing list