summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorMikael Holmen <mikael.holmen@ericsson.com>2017-03-01 06:45:20 +0000
committerMikael Holmen <mikael.holmen@ericsson.com>2017-03-01 06:45:20 +0000
commit760dc9aba76ad48d74e6015b88da43b8c8e27674 (patch)
tree8e9dd6da1ba454124be7ae9222b5a179c2987e34 /llvm/lib/Support/Path.cpp
parent7cbbb88f238527dc6633c4cec1e1f057555410a3 (diff)
downloadbcm5719-llvm-760dc9aba76ad48d74e6015b88da43b8c8e27674.tar.gz
bcm5719-llvm-760dc9aba76ad48d74e6015b88da43b8c8e27674.zip
Remove sometimes faulty rewrite of memcpy in instcombine.
Summary: Solves PR 31990. The bad rewrite could replace a memcpy of one word with store i4 -1 while it should actually be store i8 -1 Hopefully opt and llc has improved enough so the original optimization done by the code isn't needed anymore. One already existing testcase is affected. It originally tested that the memcpy was replaced with load double but since we now remove that rewrite it will be load i64 instead. Patch suggestion by Eli Friedman. Reviewers: eli.friedman, majnemer, efriedma Reviewed By: efriedma Subscribers: efriedma, llvm-commits Differential Revision: https://reviews.llvm.org/D30254 llvm-svn: 296585
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud