diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-05-21 01:43:39 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-05-21 01:43:39 +0000 |
commit | 97876fa894222ea2c11923c1dbe2b7647e424fe9 (patch) | |
tree | 00a2265729452f775fc0eb805a42b3c9dd0d7a46 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | 5435aa464a62f4d82fbe643ade6fdcc40acbd141 (diff) | |
download | bcm5719-llvm-97876fa894222ea2c11923c1dbe2b7647e424fe9.tar.gz bcm5719-llvm-97876fa894222ea2c11923c1dbe2b7647e424fe9.zip |
[MemCpyOpt] Do move the memset, but look at its dest's dependencies.
In effect a partial revert of r237858, which was a dumb shortcut.
Looking at the dependencies of the destination should be the proper
fix: if the new memset would depend on anything other than itself,
the transformation isn't correct.
llvm-svn: 237874
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
0 files changed, 0 insertions, 0 deletions