Optimize memcmp(x,y,n)==0 for small n and suitably aligned x/y.
authorChad Rosier <mcrosier@codeaurora.org>
Fri, 28 Aug 2015 18:30:18 +0000 (18:30 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Fri, 28 Aug 2015 18:30:18 +0000 (18:30 +0000)
commit55189b7fcaa03fc2e8ff04a58a58cdb653d0ab91
tree50c8b8e23ff91f127827fd20f3efb1916dc09df0
parent51b3e61e6905e0f2649b9ce7d6f998b9a64bfc7f
Optimize memcmp(x,y,n)==0 for small n and suitably aligned x/y.

http://reviews.llvm.org/D6952
PR20673

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246313 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/memcmp-1.ll