commit | aab686b3f7f5ac6d7e5dd815ce7dd869615a38e1 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Tue Jun 20 15:58:30 2017 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Tue Jun 20 15:58:30 2017 +0000 |
tree | 1d0ff447c85cce44b47acfc22772fa2acb76017e | |
parent | 85838270a50f63de825b72efe48b398e3da580d3 [diff] |
[x86] enable CGP memcmp() expansion for 2/4/8 byte sizes There are a couple of potential improvements as seen in the IR and asm: 1. We're unnecessarily extending to a larger type to compare values. 2. The codegen for (select cond, 1, -1) could avoid a cmov. (or we could change the order of the compares, so we have a select with 0 operand) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305802 91177308-0d34-0410-b5e6-96231b3b80d8