diff options
author | Christy Lee <christycylee@gmail.com> | 2018-10-26 18:02:06 +0000 |
---|---|---|
committer | Christy Lee <christycylee@gmail.com> | 2018-10-26 18:02:06 +0000 |
commit | 3cc0e935c4d82836a8476a7aac3d51845755d8d0 (patch) | |
tree | 17abb88ba6b2b9d1d14c81ca76a1aa169c3d2188 /llvm/lib/CodeGen | |
parent | 607d6976697d8122eff5344f58f20ae0dbd0c6d5 (diff) | |
download | bcm5719-llvm-3cc0e935c4d82836a8476a7aac3d51845755d8d0.tar.gz bcm5719-llvm-3cc0e935c4d82836a8476a7aac3d51845755d8d0.zip |
Pointer types were treated as zero-size by MergeICmps
Summary:
The visitICmp analysis function would record compares of pointer types, as size 0. This causes the resulting memcmp() call to have the wrong total size.
Found with "self-build" of clang/LLVM on Windows.
Reviewers: christylee, trentxintong, courbet
Reviewed By: courbet
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D53536
llvm-svn: 345413
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions