summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerLoop.cpp
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2017-06-24 15:17:38 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2017-06-24 15:17:38 +0000
commit95f24dca98e63f14c3ab2585cb37e76839fc120f (patch)
treeeddbdea4a23844dd96b54089e62ddbe031dbf830 /llvm/lib/Fuzzer/FuzzerLoop.cpp
parent4bba4ba5bae3a18ea8cbde0e99ab2416bc0ea8e5 (diff)
downloadbcm5719-llvm-95f24dca98e63f14c3ab2585cb37e76839fc120f.tar.gz
bcm5719-llvm-95f24dca98e63f14c3ab2585cb37e76839fc120f.zip
[SelectionDAG] set dereferenceable flag when expanding memcpy/memmove
When SelectionDAG expands memcpy (or memmove) call into a sequence of load and store instructions, it disregards dereferenceable flag even the source pointer is known to be dereferenceable. This results in an assertion failure if SelectionDAG commonizes a load instruction generated for memcpy with another load instruction for the source pointer. This patch makes SelectionDAG to set the dereferenceable flag for the load instructions properly to avoid the assertion failure. Differential Revision: https://reviews.llvm.org/D34467 llvm-svn: 306209
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerLoop.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud