aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-10-04 10:54:40 +0000
committerDuncan Sands <baldrick@free.fr>2012-10-04 10:54:40 +0000
commitc6ada69a147171332b9485ef28392ddf57be26b1 (patch)
tree61b0dc53e6a761717f5765da6863e4f2e38f6185 /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent43c8b46deb9ca25797b1a8525067e1b6bd551979 (diff)
downloadllvm-c6ada69a147171332b9485ef28392ddf57be26b1.zip
llvm-c6ada69a147171332b9485ef28392ddf57be26b1.tar.gz
llvm-c6ada69a147171332b9485ef28392ddf57be26b1.tar.bz2
The memcpy optimizer was happily doing call slot forwarding when the new memory
was less aligned than the old. In the testcase this results in an overaligned memset: the memset alignment was correct for the original memory but is too much for the new memory. Fix this by either increasing the alignment of the new memory or bailing out if that isn't possible. Should fix the gcc-4.7 self-host buildbot failure. llvm-svn: 165220
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions