diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-04 23:53:04 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-04 23:53:04 +0000 |
commit | 0ca1ad0783ea805d8af255a42f55b0eda5a55e4e (patch) | |
tree | 4a664e55f4f47559563446a19198dcbb13e9aa4c /clang/test/SemaCXX/aggregate-initialization.cpp | |
parent | 3f9211d322de8891301140820917f32e21cf9b87 (diff) | |
download | bcm5719-llvm-0ca1ad0783ea805d8af255a42f55b0eda5a55e4e.tar.gz bcm5719-llvm-0ca1ad0783ea805d8af255a42f55b0eda5a55e4e.zip |
Use canonical forms for the branch probability zero heutistic.
- Drop support for X >u 0, it's equivalent to X != 0 and should be canonicalized into the latter.
- Add X < 1 -> unlikely, which is what instcombine canonicalizes X <= 0 into.
- Add X > -1 -> likely, which is what instcombine canonicalizes X >= 0 into.
llvm-svn: 139110
Diffstat (limited to 'clang/test/SemaCXX/aggregate-initialization.cpp')
0 files changed, 0 insertions, 0 deletions