[PATCH] D33934: [BPI] Don't assume that strcmp returning >0 is more likely than <0

John Brawn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 7 08:09:04 PDT 2017


john.brawn updated this revision to Diff 101740.
john.brawn added a comment.

Handle memcmp in the same way, and adjust the name of the test.


Repository:
  rL LLVM

https://reviews.llvm.org/D33934

Files:
  include/llvm/Analysis/BranchProbabilityInfo.h
  include/llvm/Analysis/LazyBranchProbabilityInfo.h
  lib/Analysis/BranchProbabilityInfo.cpp
  lib/Analysis/LazyBranchProbabilityInfo.cpp
  lib/Transforms/Scalar/JumpThreading.cpp
  test/Analysis/BranchProbabilityInfo/libfunc_call.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33934.101740.patch
Type: text/x-patch
Size: 18799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170607/6e0a2e07/attachment.bin>


More information about the llvm-commits mailing list