summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2017-08-03 09:38:46 +0000
committerSimon Dardis <simon.dardis@imgtec.com>2017-08-03 09:38:46 +0000
commit51296593a877d819477b64a0046c443d6c66fba8 (patch)
tree33ac1d91d2095b69d9de671f9195b74c678bde83 /clang/lib/Frontend/CompilerInvocation.cpp
parentcd50b5cb89e846a9fd6bcc4f544768b97b1429a1 (diff)
downloadbcm5719-llvm-51296593a877d819477b64a0046c443d6c66fba8.tar.gz
bcm5719-llvm-51296593a877d819477b64a0046c443d6c66fba8.zip
[SelectionDAG] Resolve PR33978.
rL306209 taught SelectionDAG how to add the dereferenceable flag when expanding memcpy and memmove. The fix however contained a nit where the offset + size was constructed as an APInt of PointerSize rather than PointerSizeInBits. This lead to isDereferenceableAndAlignedPointer() get truncated values or values which would be sign extended within that function leading to incorrect results. Thanks to Alex Crichton for reporting the issue! This resolves PR33978. Reviewers: inouehrs Differential Revision: https://reviews.llvm.org/D36236 llvm-svn: 309930
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud