commit | 73d8e4e53186c43e7aa99cc0dfa8d640b047ef98 | [log] [tgz] |
---|---|---|
author | JF Bastien <jfbastien@apple.com> | Fri Sep 21 05:17:42 2018 +0000 |
committer | JF Bastien <jfbastien@apple.com> | Fri Sep 21 05:17:42 2018 +0000 |
tree | af52acbbbef50a4610340b07b17750a989dceb07 | |
parent | 9da65a3ab009ca2f3b55d7a95d266554fec88d31 [diff] |
Merge clang's isRepeatedBytePattern with LLVM's isBytewiseValue Summary: his code was in CGDecl.cpp and really belongs in LLVM's isBytewiseValue. Teach isBytewiseValue the tricks clang's isRepeatedBytePattern had, including merging undef properly, and recursing on more types. clang part of this patch: D51752 Subscribers: dexonsmith, llvm-commits Differential Revision: https://reviews.llvm.org/D51751 llvm-svn: 342709