[llvm-commits] Built-in "expect" support

Jakub Staszak jstaszak at apple.com
Sat Jul 2 18:00:59 PDT 2011


Hello,

This patch introduces built-in support. It uses llvm.expect intrinsics to create "branch_weights" metadata if run with -md-expect or with -O.

Comments are welcome.

Thanks!
- Kuba
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metadata_expect.patch
Type: application/octet-stream
Size: 24291 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110702/3ed8d328/attachment.obj>
-------------- next part --------------




More information about the llvm-commits mailing list