commit | b2c3eb8cf18fd749eb6f71314a7f657dcbfb4b84 | [log] [tgz] |
---|---|---|
author | Clement Courbet <courbet@google.com> | Mon Oct 30 14:19:33 2017 +0000 |
committer | Clement Courbet <courbet@google.com> | Mon Oct 30 14:19:33 2017 +0000 |
tree | d54c47b5bd661ab5a5fa46864fad656e58b0cc72 | |
parent | bef1c56724dbb566af0f0ce18fc30cf43ba82fda [diff] |
[CodeGen][ExpandMemcmp] Allow memcmp to expand to vector loads (2). - Targets that want to support memcmp expansions now return the list of supported load sizes. - Expansion codegen does not assume that all power-of-two load sizes smaller than the max load size are valid. For examples, this is not the case for x86(32bit)+sse2. Fixes PR34887. llvm-svn: 316905