]> granicus.if.org Git - clang/commit
[ubsan] Emit branch weight metadata to hint towards common case.
authorWill Dietz <wdietz2@illinois.edu>
Sat, 15 Dec 2012 01:39:14 +0000 (01:39 +0000)
committerWill Dietz <wdietz2@illinois.edu>
Sat, 15 Dec 2012 01:39:14 +0000 (01:39 +0000)
commit1bdbe4d23ed90f601772edd4aa00b8d757c6d6ca
treee87075656dce942f24b16c0ec51f8f847b0eb0be
parent3115f5b67e31f50682457883f3864fce2feba1db
[ubsan] Emit branch weight metadata to hint towards common case.

Results in better block placement that helps close the
performance gap when making ubsan checks recoverable.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170263 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
test/CodeGen/catch-undef-behavior.c