aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDávid Bolvanský <david.bolvansky@gmail.com>2020-10-19 23:08:27 +0200
committerDávid Bolvanský <david.bolvansky@gmail.com>2020-10-19 23:09:41 +0200
commitd605a119939a91477c0eb223d3a5d7d912825daa (patch)
tree969616cb2639de4d232038a1a18f8ed366c0239d /clang/lib/Frontend/CompilerInvocation.cpp
parent93671fffb5ef37060da54199cb9e009188f63a0e (diff)
downloadllvm-d605a119939a91477c0eb223d3a5d7d912825daa.zip
llvm-d605a119939a91477c0eb223d3a5d7d912825daa.tar.gz
llvm-d605a119939a91477c0eb223d3a5d7d912825daa.tar.bz2
[Intrinsics] Added writeonly attribute to the first arg of llvm.memmove
D18714 introduced writeonly attribute: "Also start using the attribute for memset, memcpy, and memmove intrinsics, and remove their special-casing in BasicAliasAnalysis." But actually, writeonly was not attached to memmove - oversight, it seems. So let's add it. As we can see, this helps DSE to eliminate redundant stores. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D89724
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions