commit | 4ccf677f27f96e163e8f9417b7a82f63af19df68 | [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 | 34332f372a34be30a76dca82985aba123c23cbc1 | |
parent | 4d7518052e4ab952b6440a0f5d739dec04019526 [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316905 91177308-0d34-0410-b5e6-96231b3b80d8