diff options
author | Duncan Sands <baldrick@free.fr> | 2007-12-21 19:16:16 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-12-21 19:16:16 +0000 |
commit | 110c8350394df3222307fbebe608ff9ed88ea487 (patch) | |
tree | 67af4837ccc6c7a87f0bad8e1561bb9ee31a5f52 /lib/Target/TargetData.cpp | |
parent | 5a6c91a3eceb701396c30dd126079903006c5e0b (diff) |
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/Target/TargetData.cpp')
0 files changed, 0 insertions, 0 deletions