aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-12-21 19:16:16 +0000
committerDuncan Sands <baldrick@free.fr>2007-12-21 19:16:16 +0000
commitc826815ca9ee8f4491c2e14fdf003c78f2e75e3d (patch)
tree67af4837ccc6c7a87f0bad8e1561bb9ee31a5f52 /lib/Support/Timer.cpp
parent455a2e0dd54ff2b57bf7439a9874dad908281ec8 (diff)
downloadexternal_llvm-c826815ca9ee8f4491c2e14fdf003c78f2e75e3d.zip
external_llvm-c826815ca9ee8f4491c2e14fdf003c78f2e75e3d.tar.gz
external_llvm-c826815ca9ee8f4491c2e14fdf003c78f2e75e3d.tar.bz2
Make DAE not wipe out attributes on calls, and not drop
return attributes on the floor. In the case of a call to a varargs function where the varargs arguments are being removed, any call attributes on those arguments need to be dropped. I didn't do this because I plan to make it illegal to have such attributes (see next patch). With this change, compiling the gcc filter2 eh test at -O0 and then running opt -std-compile-opts on it results in a correctly working program (compiling at -O1 or higher results in the test failing due to a problem with how we output eh info into the IR). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45285 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Timer.cpp')
0 files changed, 0 insertions, 0 deletions