diff options
author | JF Bastien <jfbastien@apple.com> | 2018-09-21 05:17:42 +0000 |
---|---|---|
committer | JF Bastien <jfbastien@apple.com> | 2018-09-21 05:17:42 +0000 |
commit | 73d8e4e53186c43e7aa99cc0dfa8d640b047ef98 (patch) | |
tree | af52acbbbef50a4610340b07b17750a989dceb07 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
parent | 9da65a3ab009ca2f3b55d7a95d266554fec88d31 (diff) | |
download | llvm-73d8e4e53186c43e7aa99cc0dfa8d640b047ef98.zip llvm-73d8e4e53186c43e7aa99cc0dfa8d640b047ef98.tar.gz llvm-73d8e4e53186c43e7aa99cc0dfa8d640b047ef98.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions