diff options
author | Teresa Johnson <tejohnson@google.com> | 2017-06-28 13:07:37 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2017-06-28 13:07:37 +0000 |
commit | 538b8d25f03a55e6169247e45b3f43d0c87feaf6 (patch) | |
tree | 960fe5828b1f64123790667d08de016a2c001a60 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | b738ffa845493d8af0d08acaa7c8b2b91dd295b2 (diff) | |
download | llvm-538b8d25f03a55e6169247e45b3f43d0c87feaf6.zip llvm-538b8d25f03a55e6169247e45b3f43d0c87feaf6.tar.gz llvm-538b8d25f03a55e6169247e45b3f43d0c87feaf6.tar.bz2 |
Add zero-length check to memcpy/memset load store loop expansion
Summary:
I was testing using this expansion logic in other cases besides
NVPTX, and found some runtime failures due to the lack of a check
for a zero length memcpy/memset before the loop. There is already
such a check in the memmove expansion code though.
Reviewers: hfinkel
Subscribers: jholewinski, wdng, llvm-commits
Differential Revision: https://reviews.llvm.org/D34707
llvm-svn: 306541
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions